aod cmd help
#1

hello there ,i am having aod cmd it works fine but i want it like when i type aod i get all things and when typed again every thing goes to normal here is my cmd
Код:
CMD:aod(playerid,params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 1)  
	{
  	ResetPlayerWeapons(playerid); 
  	SendClientMessage(playerid,COLOR_GREY,"{1AE694}» {EA15D5}You're now on duty. (Dont abuse it"); 
  	GivePlayerWeapon(playerid,43,100);
  	SetPlayerSkin(playerid,294);
  	SetPlayerHealth(playerid,999999); 
  	SetPlayerColor(playerid,0xEA15D5C8);
  	new Text3D:label = Create3DTextLabel("ADMIN ON DUTY!", 0xEA15D5C8, 30.0, 40.0, 50.0, 40.0, 0);
        Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
	}
 	else
	{
        SendClientMessage(playerid, COLOR_RED, "You are not allowed to use this cmd");
	}
	return 1;
}
help me out pls
Reply


Messages In This Thread
aod cmd help - by STRIKER19501 - 18.09.2017, 13:10
Re: aod cmd help - by Zedder - 18.09.2017, 13:55
Re: aod cmd help - by STRIKER19501 - 19.09.2017, 11:07

Forum Jump:


Users browsing this thread: 1 Guest(s)