Ulrich Vehicle system - Respawn
#1

Im using the Ulrich Vehicle System, but i have a problem,

When i use the underneath respawnvehicles lines (from CRP Carlitos RP), it respawns all vehicles.. Also the ones from Ulrich Vehicle System, how can i make it so that it doesn't respawn the Ulrich vehicles(player vehs) OR that its 2 seperate respawn commands.

Pastebin Ulrich vehicle System: http://pastebin.com/K7PS9pyv

Thx in Advance.

PHP код:
    if(strcmp(cmd"/respawnvehicles"true) == 0)
    {
        if (
PlayerInfo[playerid][pAdmin] >= 5)
        {
            for(new 
i=0;i<MAX_VEHICLES;i++)
            {
                if(
IsVehicleOccupied(i) == 0)
                {
                    
SetVehicleToRespawn(i);
                }
            }
            
format(stringsizeof(string), "[INFO:] Unoccupied vehicles respawned by %s."GetPlayerNameEx(playerid));
               
SendClientMessageToAll(COLOR_ADMINCMDstring);
        }
        else
        {
            
SendClientMessage(playeridCOLOR_LIGHTYELLOW2"Your not an administrator.");
        }
        return 
1;
    } 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)