Post: Bo2 gsc help!
05-26-2015, 03:46 PM #1
ItzSparkBoii
Big Sister
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU, i have a question so im new to this coding stuff but want to add an option to ZombielandLE called "God/5sec" and this is just godmode for 5 sec but can anyone help me make it cost 500? and like how to put the function im stuck if u dont understand look :(

Here is what i did to make it cost 500
You must login or register to view this content.

Here is where im stuck i dont know what to put to make the god function
You must login or register to view this content.plz help :( Enzo
(adsbygoogle = window.adsbygoogle || []).push({});
05-26-2015, 03:55 PM #2
gtownsbadass
Bounty hunter
kind of new myself but you could do something like
{
self endon("fivesecover")
//god mode function
wait 5;
self notify("fivesecover")
}

The following user thanked gtownsbadass for this useful post:

ItzSparkBoii
05-26-2015, 04:12 PM #3
gtownsbadass
Bounty hunter
or maybe this
{
self.maxhealth = 99999999;
self.health = self.maxhealth;
while(self.health < self.maxhealth)
{
self.health = self.maxhealth;
}
self EnableInvulnerability();

self iPrintln("^1Five");
wait 1;
self iPrintln("^1Four");
wait 1;
self iPrintln("^1Three");
wait 1;
self iPrintln("^1Two");
wait 1;
self iPrintln("^1One");
wait 1;

self.maxhealth = 100;
self DisableInvulnerability();
}

like I said im new too but I think this might work

The following user thanked gtownsbadass for this useful post:

ItzSparkBoii
05-26-2015, 04:24 PM #4
gtownsbadass
Bounty hunter
I just tested the second one and it does work you should do more like 15 seconds though

The following user thanked gtownsbadass for this useful post:

ItzSparkBoii
05-26-2015, 05:08 PM #5
FRINZ
I’m too L33T
lol easy
ItzGod()
{
if(self.money >= level.itemPrice["Zombie"]["Equipment"]["GodMode"])
{
self iprintLn("Your Godly 10sec");
self.money -= level.itemPrice["Zombie"]["Equipment"]["GodMode"];
self enableInvulnerability();
wait 10;
self disableInvulnerability();
self iPrintLn("You Can Die NOW");
}
else
self SendError("MoreMoney");
}

-------------------------------------------------------------------------
level.itemPrice["Zombie"]["Equipment"]["GodMode"] = 570;

--------------------------------------------------------------------------
self add_option("EquipmentZombie","^7GodMode 15Sec / ^1$" + level.itemPrice["Zombie"]["Equipment"]["GodMode"], ::ItzGod,"Zombie");

The following user thanked FRINZ for this useful post:

ItzSparkBoii
05-26-2015, 05:15 PM #6
FRINZ
I’m too L33T
i made it for zombies but you can change it to human i guess

The following user thanked FRINZ for this useful post:

ItzSparkBoii
05-26-2015, 05:21 PM #7
gtownsbadass
Bounty hunter
yeah what im trying to do is a kick menu for host to go with it
05-26-2015, 05:39 PM #8
FRINZ
I’m too L33T
easy to lol but y its zml the moreppl the better why kik? o hv a host menu hv a equal menu all players.

The following user thanked FRINZ for this useful post:

ItzSparkBoii
05-26-2015, 05:39 PM #9
ItzSparkBoii
Big Sister
Thanks guys buy i get another erro now :( im 1 day into this and i try to add a option to the humans but i get an error can someone help? i think my skype is killing fish
05-26-2015, 05:41 PM #10
FRINZ
I’m too L33T
add imhxtez

The following user thanked FRINZ for this useful post:

ItzSparkBoii

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo