02.01.2011, 18:14
I have lately used:
But doesn't work
pawn Код:
public OnFilterScriptExit()
{
for(new playerid = 0; playerid < GetMaxPlayers(); playerid ++ )
if(SpawnedV[playerid] == 1) {DestroyVehicle(SpawnedV[playerid]); Delete3DTextLabel(Text3D:vehicle3Dtext); }
return 0;//1
}
pawn Код:
public OnPlayerDisconnect(playerid)
{
if(SpawnedV[playerid] == 1){DestroyVehicle(SpawnedV[playerid]); Delete3DTextLabel(Text3D:vehicle3Dtext);}
return 0;
}