14.12.2009, 17:07
What do you want to do exactly?
Here you a little example:
Here you a little example:
Код:
public OnPlayerStateChange(playerid,newstate,oldstate) { if(oldstate == PLAYER_STATE_DRIVER) // If i changed my state, and changed from driver to something else { // Then.. // Something happens } return 1; // OnPlayerStateChange callback return } // Closing OnPlayerStateChange callback.