Author Topic: godmode script  (Read 3067 times)

Maximom

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-6
  • C.R.C colonel
    • View Profile
godmode script
« on: October 31, 2013, 07:07:31 pm »
?any one have godmode script? if have give me the code thx.  :-\
C.r.c member

Nihau

  • Newbie
  • *
  • Posts: 49
  • Karma: +27/-18
    • View Profile
Re: godmode script
« Reply #1 on: October 31, 2013, 08:55:09 pm »
Save this in your server as client script

Code: [Select]
pPlayer  <- FindLocalPlayer();
GOD_MODE <-  false;//This is global variable

function onClientHurt(entity){

if(pPlayer){ //   Check if local player exist to prevent possible crash

if(GOD_MODE == true)   //Check if GOD_MODE has been enabled, then:
{   return 0; /* Cancel the damage */  }
}
return 1;
}


function onClientCommand( cmd, text )
{

if(cmd == "godmode"){

if(GOD_MODE == false){
GOD_MODE = true;
Message("GOD MODE HAS BEEN ENABLED.");

} else {
GOD_MODE = false;
Message("GOD MODE HAS BEEN DISABLED.");
}

}  //end of godmode command

return 1;
}

This script not tested, but should work.

Maximom

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-6
  • C.R.C colonel
    • View Profile
Re: godmode script
« Reply #2 on: November 11, 2013, 02:16:07 pm »
not working :/
C.r.c member

sasha19323

  • Jr. Member
  • **
  • Posts: 99
  • Karma: +25/-24
    • View Profile
Re: godmode script
« Reply #3 on: November 11, 2013, 02:34:08 pm »
Vetal forgot onClientShot

Maximom

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-6
  • C.R.C colonel
    • View Profile
Re: godmode script
« Reply #4 on: November 11, 2013, 02:44:31 pm »
but i dont know still..
C.r.c member

ZX_Lost_Soul

  • Newbie
  • *
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Re: godmode script
« Reply #5 on: November 11, 2013, 03:36:21 pm »
Take this: (client script)
Code: [Select]
/* Immortal mode  ||  Author: ZX_Lost_Soul
Press F11 to become fucking immortal */

local plr=FindLocalPlayer();
local immortal;

function onScriptLoad() {
BindKey(KEY_F11, BINDTYPE_UP, "immortal_mode");
}

function immortal_mode() {
if(!immortal) {
immortal=1;
Message("Now you're immortal!");
} else {
immortal=0;
Message("Now you're earthborn");
  }
}

function onClientHurt(ent) {
if(immortal) return 0;
return 1;
}

function onClientShot(plr, wep, prt) {
if(immortal) return 0;
return 1;
}
« Last Edit: November 11, 2013, 03:54:30 pm by ZX_Lost_Soul »
My English is very poor, please try to understand me)

Maximom

  • Newbie
  • *
  • Posts: 31
  • Karma: +5/-6
  • C.R.C colonel
    • View Profile
Re: godmode script
« Reply #6 on: November 11, 2013, 07:40:24 pm »
IT WORKS!! THE GODMODE BUTTON WORKS!!efeapgaer[hlaerhpl[erehp[lhteainozhno
C.r.c member

Suzuka

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-3
  • GTA Series are the best! :)
    • View Profile
Re: godmode script
« Reply #7 on: January 10, 2014, 01:41:24 pm »
Does this work on the ''Mess about server''?
My to do list:

1. Fly the Police/Escape Helicopter.
2. Play on MetalLuigi77's Cops and Robbers server.

Contact me on Skype: marvelousgamer1337

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: godmode script
« Reply #8 on: January 10, 2014, 04:12:01 pm »
Does this work on the ''Mess about server''?
If you're talking about the server itself, no. This script isn't added on there.
If you're talking about the script, sure. You can add it yourself.

Suzuka

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-3
  • GTA Series are the best! :)
    • View Profile
Re: godmode script
« Reply #9 on: January 11, 2014, 12:52:30 am »
I'm not the owner of the server lol
My to do list:

1. Fly the Police/Escape Helicopter.
2. Play on MetalLuigi77's Cops and Robbers server.

Contact me on Skype: marvelousgamer1337

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: godmode script
« Reply #10 on: January 11, 2014, 01:50:40 pm »
I'm not the owner of the server lol
Where did I say you were?

Suzuka

  • Newbie
  • *
  • Posts: 38
  • Karma: +0/-3
  • GTA Series are the best! :)
    • View Profile
Re: godmode script
« Reply #11 on: January 12, 2014, 07:32:40 pm »
I'm not the owner of the server lol
Where did I say you were?

Ur pretending to be a asshole or what?!
My to do list:

1. Fly the Police/Escape Helicopter.
2. Play on MetalLuigi77's Cops and Robbers server.

Contact me on Skype: marvelousgamer1337

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: godmode script
« Reply #12 on: January 13, 2014, 12:32:22 am »
Easy now boy. You're making some weird assumptions here.
I'm gonna lock this thread before you say something you'll regret..

 

© Liberty Unleashed Team.