Post: Script not working
10-02-2014, 10:52 PM #1
Vanz
Z32 Love <3
(adsbygoogle = window.adsbygoogle || []).push({}); Hello everyone Enzo I been making my own menu and I have a slight problem. I have 2 scripts not working..I got these scripts from the Managed gsc list but they don't seem to work. The scripts are Nova Gas and Godmode.
I tried my best to fix the scripts myself but I can't seem to find the problem. (It might be the menu base I'm using,not sure) I'm using ZeiiKeN's menu base. You must login or register to view this content.

Here are the two scripts.
    doGod()
{
if(self.God==false)
{
self iPrintln("^6 Enabled!");
self enableInvulnerability();
self.God=true;
}
else
{
self iPrintln("^6 Disabled!");
self disableInvulnerability();
self.God=false;
}
}



    NovaGas()
{
self endon("disconnect");
self endon("death");
cur=self getCurrentWeapon();
wait 0.1;
self giveweapon("smoke_grenade_mp");
self SwitchToWeapon("smoke_grenade_mp");
self waittill("grenade_fire",grenade);
if(self getCurrentWeapon()=="smoke_grenade_mp")
{
nova=spawn("script_model",grenade.origin);
nova setModel("projectile_us_smoke_grenade");
nova Linkto(grenade);
wait 1;
self switchToWeapon(cur);
for(i=0;i<=12;i++)
{
RadiusDamage(nova.origin,300,100,50,self);
wait 1;
}
nova delete();
}
}


Note: When I enter the Novagas it doesn't switch to any smoke.
(adsbygoogle = window.adsbygoogle || []).push({});
10-02-2014, 10:55 PM #2
Leo
Are you high?
For Godmode Use this GodMode()
{
if(self.God==false)
{
self iPrintln("GodMod ^2ON");
self.maxhealth=999999999;
self.health=self.maxhealth;
self enableInvulnerability();
self.God=true;
}
else
{
self iPrintln("GodMod ^1OFF");
self.maxhealth=100;
self.health=self.maxhealth;
self disableInvulnerability();
self.God=false;
}
}

The following user thanked Leo for this useful post:

Vanz

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo