Who made SA-MP?
#17

Quote:
Originally Posted by DarrenReeder
Посмотреть сообщение
Ah, so it basicly looks for where certain stuff is stored when playing GTA? so, where your gun slot 1, slot 2, slot 3 etc. is stored, then they use like C++ and stuff to make it so you can use pawn to just use a function to change it??

And then thats how hacks would do it aswell??
Well, not everything is exactly stored in variables.
You need to use in-line assembly in C++ to call some GTA functions. Like this:

Код:
void CallGTAFunction()
{
	DWORD dwFunc = 0x123456;
	_asm
	{
		push 0
		call dwFunc
	}
}
This would call a function at 0x123456 memory address.

Read some Assembly tutorials for more information.
Reply


Messages In This Thread
Who made SA-MP? - by PilotXtreme - 27.10.2010, 05:57
Re: Who made SA-MP? - by Kitten - 27.10.2010, 06:04
Re: Who made SA-MP? - by PilotXtreme - 27.10.2010, 06:05
Re: Who made SA-MP? - by Tails - 27.10.2010, 06:50
Re: Who made SA-MP? - by Matej_ - 27.10.2010, 10:42
Re: Who made SA-MP? - by DarrenReeder - 27.10.2010, 11:02
Re: Who made SA-MP? - by Matej_ - 27.10.2010, 11:05
Re: Who made SA-MP? - by woot - 27.10.2010, 11:22
Re: Who made SA-MP? - by Brian_Furious - 27.10.2010, 11:47
Re: Who made SA-MP? - by General Abe - 27.10.2010, 11:55
Re: Who made SA-MP? - by [03]Garsino - 27.10.2010, 11:56
Re: Who made SA-MP? - by Calgon - 27.10.2010, 12:01
Re: Who made SA-MP? - by [03]Garsino - 27.10.2010, 12:04
Re: Who made SA-MP? - by DarrenReeder - 27.10.2010, 12:10
Re: Who made SA-MP? - by bpeterson - 27.10.2010, 15:11
Re: Who made SA-MP? - by DarrenReeder - 27.10.2010, 15:31
Re: Who made SA-MP? - by bpeterson - 27.10.2010, 17:31
Re: Who made SA-MP? - by MaTrIx4057 - 27.10.2010, 21:32
Re: Who made SA-MP? - by Popz - 27.10.2010, 22:44

Forum Jump:


Users browsing this thread: 1 Guest(s)