16.02.2014, 08:03
Is this ok for godmode for normal players too :-
And bro i want normal /duel [playerid] and other player must accept duel to start..
But you are saying to set level of luxadmin duel to 0 it will work but they will do /duel playerid1 playerid2 area
I only want simple /duel in which other player must accept duel to start
Код:
dcmd_god(playerid,params[]) { #pragma unused params if(AccInfo[playerid][Level] >= 0 { AccInfo[playerid][God] = 1; SetPlayerHealth(playerid,100000); ResetPlayerWeapons(playerid); // Resets the player's weapon (Disarm) SendClientMessage(playerid,green,"|- GodMod ON -|"); SendClientMessage(playerid,red,"You cannot use weapons in godmode"); return SendCommandToAdmins(playerid,"God"); } else { AccInfo[playerid][God] = 0; SendClientMessage(playerid,red,"|- GodMod OFF -|"); SendClientMessage(playerid,red,"Now you can safely use your weapons"); SetPlayerHealth(playerid, 100); } return GivePlayerWeapon(playerid,29,500); (Gives M4 or something while god mode is turned off) }
But you are saying to set level of luxadmin duel to 0 it will work but they will do /duel playerid1 playerid2 area
I only want simple /duel in which other player must accept duel to start