30.08.2011, 16:19
Does any have or know to make a filterscript to clear cars that are abandoned with a command?
if(!strcmp(cmdtext, "/respawncars", true))
{
for(new i = 0; i < MAX_VEHICLES; i++)
{
new name[24], string[64];
GetPlayerName(playerid, name, 24);
format(string, sizeof(string), "%s has respawned the cars", name);
SendClientMessageToAll(color, string);
SetVehicleToRespawn(i);
}
return 1;
}