12.04.2012, 12:45
pawn Код:
if(strcmp(cmd, "/respawncars", true) == 0)
{
new IsVehicleOccupied;
IsVehicleOccupied = if(IsPlayerInVehicle);
for(new i=0;i<MAX_VEHICLES;i++)
{
if(IsVehicleOccupied(i) == 0)
{
SetVehicleToRespawn(i);
}
}
return 1;
}
Try that