OnPlayerRequestClass

From SA-MP

Jump to: navigation, search

OnPlayerRequestClass

This callback is called when a player respawns after he have pressed F4 or when he first connects to the server, instead of spawning him.


(playerid)
playeridID of the player who entered class selection.
classidThe ID of the class he's currently on, the AddPlayerClass() ID that is, not the actuall class model ID.


This function does not return a specific value, it's best to simply ignore it.
Personal tools