Please help me to add command for health&armour to cant die!
#1

Код:
	if(strcmp(cmd,"/gmon",true)==0)
	{
        if(PlayerInfo[playerid][pAdmin] >= 2)
        {
			SetPlayerHealth(playerid, 100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000);
			SetPlayerArmour(playerid, 100000001000000010000000100000001000000010000000100000001000000010000000100000001000000010000000);
			GetPlayerName(playerid, sendername, sizeof(sendername));
			format(string, 256, "-| Admin [ID %d ] %s go vkluci GODMODE. |-", playerid,sendername);
         	SendClientMessageToAll(COLOR_RED, string);
		}
		return 1;
	}
so i make this command but i see on other servers when you type like /adminduty it gives you health
when someone try kill you with anyweapon like minigun you not die your health is light ? Please help what i need to add!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)