event_infect
No description available for this symbol.
Syntax
forward event_infect(victim, attacker) /* Called when the game starts */ forward event_gamestart() /* Returns true if the game has started */ native bool:game_started() /* Makes a user zombie */ native infect_user(victim, attacker) /* Makes a user human */ native cure_user(index) /* Infect user before game starts */ native preinfect_user(index, bool:yesno) /* Returns 1 if user is a zombie */ native is_user_zombie(index) /* Returns 1 if the user is infected (before game)*/ native is_user_infected(index) /* Returns user zombie class */ native get_user_class(index) /* Returns zombie class id, -1 otherwise */ native register_class(classname[], description[]) /* Sets zombie player model */
Usage
| victim | — |
| attacker | — |
Defined in
biohazard.inc
at line 27
.
This documentation was automatically generated from source.