09.08.2015, 14:35
hi
i am supposed to use this at race when players veh will be destroyed, but how we know there is no playerid.
how can i do it?
i am supposed to use this at race when players veh will be destroyed, but how we know there is no playerid.
how can i do it?
Код:
if(IsStarted[0])
{
DisablePlayerRaceCheckpoint(playerid);
SetPlayerVirtualWorld(playerid, 0);
DisableRemoteVehicleCollisions(playerid, 0);
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), GetPlayerVirtualWorld(playerid));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerVirtualWorld(i) != 2001)
{
IsStarted[0] = false;
ramount[0] = 30;
ramount2[0] = 4;
for(new ii; ii < 8; ii++)
GrottiTPlayer[ii] = -1;
}
}
}

