30.08.2011, 16:22
Umm you mean this?
EDIT: Beaten to it again -.-
pawn Code:
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;
}