GetPlayerTargetPlayer id in vehicle
#1

Hi,

It'is possible to get target player id when he is in vehicle? or this function automatic do this?
Reply
#2

pawn Код:
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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)