02.05.2010, 07:38
I need a function like onplayerexitvehicle, just when you drop from bike. Is there any? Because onplayerexitvehicle doesn't work like that.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_ONFOOT)
{
SendClientMessage(playerid, 0xff002dff, "Hi.");
}
}