14.01.2019, 19:44
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;
}