/respawnallvehicles - Trying to ensure the vehicle is created in the exact same ID
#5

Use my command, if you use ZCMD.

Код:
CMD:rc(playerid)
{
    new string[256];
    LevelCheck(playerid, 3);
    format(string, sizeof(string), "Administrator %s has respawn all cars !", PlayerName(playerid));
    SendClientMessageToAll(COLOR_BLUE, string);
    PlayerPlaySound(playerid, 1058,0.0,0.0,0.0);
    for(new i = 0; i <= MAX_VEHICLES; i++)
    {
        if(!VehicleOccupied(i)
	{
	    SetVehicleToRespawn(i);
	}
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)