Posted: Wed May 11, 2011 11:37 am Post subject: Need help with VB!
Ok i am making a trainer for The last stand.
And i have a Q. Can i use like the combobox for commends.
Like say when they click on like add health to the wall and stuff like that?
and I want to make it edit weapons and zombies but it wont work.
I think its bc it had a . in it.
This is what i want to edit
snubnose.damage
And i want to push a butten and it edits it to do like 9999 dmg or something.
You should be able to use a combobox, just set a Combobox.SelectedIndexChanged() event.
Are you wanting this editor to work pre game or during? If it's an ini file and you are trying to mod it during game it may be write protected.
You did a good job posting what you would like you just left out a lot of important details on what you are dealing with. _________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
But now i need help with like changing the ammo and stuff.
I use Sothink SWF Decompiler, and VB.
The game i want to hack is The last stand.
I found all the info on the guns like ammo,dmg,WeaponRPM,
But when i try coding it to change that number it wont work.
This is what i do.
Call Game.SetVariable("_root.pistol.damage", 9999)
What do I do?
Ok, here's what you do:
Set the combobox's command to onClick, then type in the following code:
Code:
if combobox1.text = "hackname" then
'initialise code here
else if blahblahblah 'if there are other hacks
'initialize code
'else if if theres more
end if 'end else if statements.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum