dude he asked a legit question why do u have to be an asshole and post that.
Hi I got here and I don't know what I'm supposed to replace the "threadname" with. Any Ideas? (This is for Unlimited Ammo)
threadname()
{
self endon ( "disconnect" );
self endon ( "death" );
for(;
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
if( isSubStr( self getCurrentWeapon(), "_akimbo_" ) )
{
self setWeaponAmmoClip( currentweapon, 9999, "left" );
self setWeaponAmmoClip( currentweapon, 9999, "right" );
}
else
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.01;
}
}
dude he asked a legit question why do u have to be an asshole and post that.
Skyline. (07-12-2010)
Can't figure it out without seeing the whole GSC. btw, wrong forum.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
/moved to help
@SkyAssasin /post deleted
[center]
Back in '10
Got a question?PM/VM me!
I read them all.
Also contact me via MSN.
vlad@mpgh.net
If you have an FFViewer then open it, go to File, open, search for patch_mp.ff (in your Zone/English folder.) Click on the tab RAW FILES, then click on this file "maps/mp/gametypes/_rank.gsc" then on the right side you will see some codes.
Right click on _rank.gsc and click Export File. select your location where your file will be and save it there. Now, go there and open your exported file. Put this thread somewhere (my oppinion : at the end of the file), Click CTRL + F type "onPlayerspawned" click next till you see something like this:
Now in your script replace the "threadname" with something like unlimited ammo.Code:onPlayerSpawned() { self endon("disconnect"); for(;;) { self waittill("spawned_player"); } }So it should look something like this:Code:threadname() { self endon ( "disconnect" ); self endon ( "death" ); ETC.....
Ok, your thread name is unlimitedammo, now we have to get it triggered when the player is spawned so we do this:Code:unlimitedammo() { self endon ( "disconnect" ); self endon ( "death" ); ETC.....
You see? Now, when your player is spawned the unlimitedammo thread will be triggered. So your player has unlimited ammo when he spawns.Code:onPlayerSpawned() { self endon("disconnect"); for(;;) { self waittill("spawned_player"); self thread unlimitedammo(); } }
This is how threads work. Good luck with your script/mod.
you can replace it with anything you like. Or even leave it like this.
(Just make sure you don't have two threads with the same name.)
If you leave it like this, just add this under 'onPlayerSpawned()'
Code:self thread threadname();
Or, and this works even better; change it to
ILuvNeekokeeN()
and add 'self thread ILuvNeekokeeN();' under 'onPlayerSpawned()'