Need help with a /rac command
#1

Hi.I have a /rac command:
pawn Код:
COMMAND:rac(playerid, params[])
{
    // Send the command to all admins so they can see it
    SendAdminText(playerid, "/rac", params);

    // Check if the player has logged in
    if (APlayerData[playerid][LoggedIn] == true)
        // Check if the player's admin-level is at least 1
    if(APlayerData[playerid][PlayerLevel] >= 4)
    {
        for (new i = 1; i < MAX_VEHICLES; i++)
        {
            if(IsVehicleOccupied(i) == 0)   SetVehicleToRespawn(i);
        }
    }
    return 1;
}
This command working,but respawn my used trailers.How to add to stop respawn used trailers?Thanks for help
Reply


Messages In This Thread
Need help with a /rac command - by ArchLord - 04.09.2014, 09:36
Re: Need help with a /rac command - by Jack_Leslie - 04.09.2014, 10:01
Re: Need help with a /rac command - by ArchLord - 04.09.2014, 10:30
Re: Need help with a /rac command - by Team_PRO - 04.09.2014, 10:47
Re: Need help with a /rac command - by Jack_Leslie - 04.09.2014, 10:54
Re: Need help with a /rac command - by TLN - 04.09.2014, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)