native
zp_force_user_class
Syntax
native zp_force_user_class(id, spid, zombie, attacker = 0, sillentmode = 1);
Description
Force user Special Class without checks
Parameters
| id | Player Index |
|---|---|
| specialid | Special Class Index |
| zombie | Is Zombie or Human? |
| attacker | Attacker Index |
| sillentmode | Hide Hud Messages |
Note
Special/Normal Rounds will not to be started auto, just setting class only
Note
Can only force in the base class or special class, cant change for other basic zombie class
Return
True if sucess, false otherwise.
Error
If Special Class index are invalid