08.06.2012, 05:55
The cmd still ResetPlayerWeapons
It dosn't work correctly :P
pawn Code:
YCMD:makeevent(playerid, params[], help)
{
new str[128];
if(PlayerInfo[playerid][pAdmin] < 5 && !IsPlayerAdmin(playerid)) return
{
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;
}