Need help with a /rac command
#3

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
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 && GetVehcileModel(i) != insert model id of trailer here)   SetVehicleToRespawn(i);
        }
    }
    return 1;
}

??
This doesn't working,i have a error and this command respawn my occupied cars.
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)