23.11.2014, 05:36
Hi,
It'is possible to get target player id when he is in vehicle? or this function automatic do this?
It'is possible to get target player id when he is in vehicle? or this function automatic do this?
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new check[128];
format(check, sizeof(check), "PlayerID %d is now on a vehicle", playerid);
SendClientMessageToAll(-1, check);
}
return 1;
}