I know this is like a retarded question but I will never know if I don't ask,
Where do I put the PHP code in?
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]
This is how my code looks,
It shows an a error on "Hacks.Voids.PushToConsole ("ShowFps 1")"Code:void RunConsoleCommand(char *command) { typedef int (__cdecl* RunConsoleCommand_t)(char *cmd); RunConsoleCommand_t RCC = (RunConsoleCommand_t) 0x4A4750; //Engine Address. RCC(command); delete command; Hacks.Voids.PushToConsole ("ShowFps 1") }
Saying that it "expected an expression"
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]
My Unbelievable-Kill BM:
seeplusplus - updating address
[YOUTUBE]nWgztMVIUYY[/YOUTUBE]
That didn't help to much, now it says that "RunConsoleCommands" is incompatible with <error-type> RunConsoleCommand declared at line 107.Code:void RunConsoleCommand(char *command) { typedef int (__cdecl* RunConsoleCommand_t)(char *cmd); RunConsoleCommand_t RCC = (RunConsoleCommand_t)0x4A4750; //Engine Address. RCC(command); delete command; } RunConsoleCommand("ShowFps 1");
also that "RunConsoleCommands" this declaration has no storage class or type specifier.
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]
Omg man people like you drive me so crazy. what is the joy in making a hack if u don't even know how it works?
go to learncpp.com and start some tutorials.. sure u'll start out with making some simple programs but it is still fun.
the ammount of shitty posts in this thread is unbelievable..
BUt man??? did u try deleting the fucking "s" at the end of RunConsoleCommands.
and you have to put your hacks in a loop as;dlfkjas;dlfkjasdf;alksdf
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/ProXtremeSignature.png[/IMG]
[IMG]https://i714.photobucke*****m/albums/ww144/sandro911/Signature.png[/IMG]
sorry man i was raging after reading all the previous comments.
I'll help you if I can but it would really make it easier if you read a couple of C++ TUTs.
this is your function
you can't just call your function in empty space you should have it in a loop or somethingCode:void RunConsoleCommand(char *command)// function RunConsoleCommand { typedef int (__cdecl* RunConsoleCommand_t)(char *cmd); RunConsoleCommand_t RCC = (RunConsoleCommand_t) 0x4A4750;//Engine Address, NOT CSHELL!! RCC(command); delete command; }
Code:void main()// this code won't actually work but u get the idea { while (1) //your loop RunConsoleCommand("ShowFps 1" ); //call to function RunConsoleCommand }
Last edited by swatfx; 11-02-2010 at 12:02 AM.
-xGhost- (11-02-2010)
Guys, like I have said before... to keep from noob coders from c+ping I didn't put full thing..