Spawn vehicle per player
#2

pawn Код:
new PlayerVehicle[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    PlayerVehicle[playerid] = CreateVehicle//...etc
    return 1;
}

public OnPlayerDisconnect(playerid)
{
    DestroyVehicle(PlayerVehicle[playerid]);
    PlayerVehicle[playerid] = 0;
    return 1;
}
Reply


Messages In This Thread
Spawn vehicle per player - by NoteND - 14.01.2019, 15:47
Re: Spawn vehicle per player - by RogueDrifter - 14.01.2019, 19:44
Re: Spawn vehicle per player - by rockys - 14.01.2019, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)