Make event
#4

pawn Code:
YCMD:makeevent(playerid, params[], help)
    {
        new str[128];
        if(PlayerInfo[playerid][pAdmin] >= 5 && IsPlayerAdmin(playerid))
        {
            ResetPlayerWeapons(playerid);
            format(str,sizeof(str),"{FF7F00}%s has made a event, type /joinevent to join the event.", GetName(playerid));
            SendClientMessageToAll(-1,str);
            ResetPlayerWeapons(playerid);
            SetPlayerPos(playerid, 1798.2366,-1303.9529,120.2656);
            GivePlayerWeapon(playerid, 24, 200);
            SetPlayerArmour(playerid, 100);
        }
        else
        {
            SendClientMessage(playerid, COLOR_ORANGE, "You are not enough high administrator level!");
        }
        return 1;
    }
Reply


Messages In This Thread
Make event - by HighPitchedVoice - 08.06.2012, 05:55
Re: Make event - by SnG.Scot_MisCuDI - 08.06.2012, 06:05
Re: Make event - by HighPitchedVoice - 08.06.2012, 06:07
Re: Make event - by zxc1 - 08.06.2012, 06:09
Re: Make event - by HighPitchedVoice - 08.06.2012, 06:12
Re: Make event - by leonardo1434 - 08.06.2012, 06:14
Re: Make event - by zxc1 - 08.06.2012, 06:17

Forum Jump:


Users browsing this thread: 1 Guest(s)