Post: Need Help
08-31-2015, 11:40 PM #1
AssumingAgate
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Hey I'm trying to make a mod menu (GSC) but when I try to add forge mode it says bad syntax help it only allows me to add godmode, unlimited ammo, and clone
09-01-2015, 09:21 AM #2
Jordan
Can’t trickshot me!
Originally posted by AssumingAgate View Post
Hey I'm trying to make a mod menu (GSC) but when I try to add forge mode it says bad syntax help it only allows me to add godmode, unlimited ammo, and clone


For me to figure out the error I would need to see your code and see what's causing the syntax error
09-01-2015, 06:52 PM #3
whothedaddy1990
Can’t trickshot me!
Are You Making The Forge Script From Scratch Or Copying & Pasting One Into Your Menu???
09-04-2015, 08:18 PM #4
AssumingAgate
Bounty hunter
Copy For The Forge
09-05-2015, 10:03 AM #5
whothedaddy1990
Can’t trickshot me!
Then You Have Left Out A Part Of The Fucntion Thats Why Your Getting Bad Syntax

Here An Forge Script From My Patch Just Copy & Paste It In

togglePickup()
{
if(self.forge == false)
{
self iPrintln("Forge Mode ^7ON");
self iPrintln("Hold [{+speed_throw}] To Pickup Objects");
self thread pickup();
self.forge = true;
}
else
{
self iPrintln("Forge Mode ^5OFF");
self notify("stop_forge");
self.forge = false;
}
}
pickup()
{
self endon("death");
self endon("stop_forge");
self endon("unverified");
for(;Winky Winky
{
while(self adsbuttonpressed())
{
trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self);
while(self adsbuttonpressed())
{
trace["entity"] freezeControls( true );
trace["entity"] setorigin(self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200);
trace["entity"].origin = self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200;
wait 0.05;
}
trace["entity"] freezeControls( false );
}
wait 0.05;
}
}

The following user thanked whothedaddy1990 for this useful post:

AssumingAgate

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo