[Help]Vehicle Spawn
#2

That is wrong:
pawn Код:
Player[MAX_PLAYER_NAME]
It should be:
pawn Код:
Player[playerid]
and you don't have to use "else if":
pawn Код:
if(GetPlayerVehicleID(playerid) != Player[playerid])
{
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, COLOR_RED, "To nie twуj pojazd , wysiadaj");
}
else
{
    // code.. the vehicle is for that player
}
Reply


Messages In This Thread
[Help]Vehicle Spawn - by herligho232 - 27.05.2014, 15:30
Re: [Help]Vehicle Spawn - by Konstantinos - 27.05.2014, 15:47
Re: [Help]Vehicle Spawn - by herligho232 - 27.05.2014, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)