Jump to content
  • 0
Sign in to follow this  
redblood

Adding a God command

Question

[SIZE="4"][FONT="Verdana"]I've been on plenty of other servers where you could type ::god and fly around..I want to add it! I'm using delta...any help?[/FONT][/SIZE]

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
well you could search google for it , but because i'm bored i did it for u

[CODE]if (command.equalsIgnoreCase("god") && playerRights >= 2) { //feel free to change rights needed
setAnimation(1500);
playerSE = 1501;
playerSEW = 1851;
playerSER = 1851;
playerSEA = 1851;
playerEnergy = 99999999;
sM("God mode on");
updateRequired = true;
appearanceUpdateRequired = true;
}[/CODE]

[CODE]if (command.equalsIgnoreCase("godoff") && playerRights >= 2) {
sM("god mode off");
setAnimation(760);
playerSE = 0x328;
playerSEW = 0x333;
playerSER = 0x338;
playerSEA = 0x326;
playerLevel[3] = getLevelForXP(playerXP[3]);
updateRequired = true;
appearanceUpdateRequired = true;
}[/CODE]

Share this post


Link to post
Share on other sites
  • 0
[quote name='cheesecake']well you could search google for it , but because i'm bored i did it for u

[CODE]if (command.equalsIgnoreCase("god") && playerRights >= 2) { //feel free to change rights needed
setAnimation(1500);
playerSE = 1501;
playerSEW = 1851;
playerSER = 1851;
playerSEA = 1851;
playerEnergy = 99999999;
sM("God mode on");
updateRequired = true;
appearanceUpdateRequired = true;
}[/CODE]

[CODE]if (command.equalsIgnoreCase("godoff") && playerRights >= 2) {
sM("god mode off");
setAnimation(760);
playerSE = 0x328;
playerSEW = 0x333;
playerSER = 0x338;
playerSEA = 0x326;
playerLevel[3] = getLevelForXP(playerXP[3]);
updateRequired = true;
appearanceUpdateRequired = true;
}[/CODE][/QUOTE]

does that apply for 718 servers?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×