Filterscript to clear cars
#1

Does any have or know to make a filterscript to clear cars that are abandoned with a command?
Reply
#2

Umm you mean this?

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;
}
EDIT: Beaten to it again -.-
Reply
#3

Is that pawn code to clear cars or to respawn them?
Reply
#4

Quote:
Originally Posted by Psychic
View Post
Is that pawn code to clear cars or to respawn them?
It respawns them?



This forum requires that you wait 120 seconds between posts. Please try again in 29 seconds. - This forum needs to understand waiting wastes my life
Reply
#5

Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)