/vrespawn help
#1

Well i made /vrespawn so if admin uses it. Vehicles that is not used will be respawn and if players are driving vehicle, nothing will happen! when i use the cmd while im driving vehicle, the vehicle respawns
pawn Код:
CMD:vrespawn(playerid, params[])
{
    if(PlayerData[playerid][AdminLevel] > 1)
    {
            for(new v = 1; v <= MAX_VEHICLES; v++)
            {
            SetVehicleToRespawn(v);
            }
            SendClientMessage(playerid,0xFF9900AA,"SERVER: An Administrator has respawned all vehicle!");
    }
    else return SendClientMessage(playerid,0xFF0000FF,"ERROR: Your admin level isn't high enough!");
    return 1;
}
Reply


Messages In This Thread
/vrespawn help - by tanush - 20.03.2011, 17:56
Re: /vrespawn help - by iJumbo - 20.03.2011, 18:04
Re: /vrespawn help - by tanush - 20.03.2011, 18:27
Re: /vrespawn help - by Biesmen - 20.03.2011, 19:08
Re: /vrespawn help - by Davz*|*Criss - 20.03.2011, 20:18
Re: /vrespawn help - by [ProX]BlueFire - 20.03.2011, 20:20
Re: /vrespawn help - by tanush - 20.03.2011, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)