Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public fwd_playerprethink(id)
- {
- if(!is_user_alive( id ) )
- return FMRES_IGNORED
- if(get_user_health(id) > 10000 && klasa_igraca[id] == Ubica) // Da ogranici na klasu Ubica 10000 HP
- {
- set_user_health(id, 10000)
- }
- else if( get_user_health(id) > 100) && klasa_igraca[id] == Assassin)// Da na assassina ogranici 100 HP
- {
- set_user_health(id, 100)
- }
- else // Ogranici svim igracima na 1000 HP
- {
- set_user_health(id, 1000)
- }
- return FMRES_IGNORED
- }
Advertisement
Add Comment
Please, Sign In to add comment