05.03.2011, 15:10
i am trying to make a command that respawns all vehicles this is what i have made so far
Код:
// at the top
new vehicles[MAX_VEHICLES];
// OnPlayerCommandText(playerid, cmdtext[])
if (strcmp("/respawnallvehicles", cmdtext, true, 10) == 0)
{
RepairVehicle(vehicles[MAX_VEHICLES]);
SetVehicleToRespawn(vehicles[MAX_VEHICLES]);
return 1;
}

