04.09.2014, 10:01
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;
}
??