[Help]Problem with OnPlayerStateChange
#4

What do you want to do exactly?
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.
Reply


Messages In This Thread
[Help]Problem with OnPlayerStateChange - by Tigerbeast11 - 14.12.2009, 16:55
Re: [Help]Problem with OnPlayerStateChange - by Martin_M - 14.12.2009, 17:02
Re: [Help]Problem with OnPlayerStateChange - by Tigerbeast11 - 14.12.2009, 17:03
Re: [Help]Problem with OnPlayerStateChange - by Martin_M - 14.12.2009, 17:07
Re: [Help]Problem with OnPlayerStateChange - by Martin_M - 14.12.2009, 17:08
Re: [Help]Problem with OnPlayerStateChange - by Tigerbeast11 - 14.12.2009, 17:11
Re: [Help]Problem with OnPlayerStateChange - by LarzI - 14.12.2009, 18:22
Re: [Help]Problem with OnPlayerStateChange - by Tigerbeast11 - 14.12.2009, 19:37
Re: [Help]Problem with OnPlayerStateChange - by LarzI - 14.12.2009, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)