Prefixobjekt
Active member
- Joined
- Aug 1, 2014
- Messages
- 55
- Reaction score
- 0
Heeeeey 
a little question.
how to get weapons with c++?
i need help please
:yesyes:
a little question.
how to get weapons with c++?
i need help please
PHP:void SetGameSpeed(float Speed) { *(float*)0xB7CB64 = Speed; } ___________________________ example: SetGameSpeed(1.5);
Steezy link said:how to find these adresses?
Prefixobjekt link said:[member=5679]T3K[/member]
oh thanx i must wrote this into a loop
but how "get" weapons?![]()
PHP:void GiveWeaponSet(unsigned char SET) { switch(SET) { case 1: *(bool*)0x969130 = true; break; case 2: *(bool*)0x969131 = true; break; case 3: *(bool*)0x969132 = true; break; } } ------------------------------------------- there are 3 sets example : GiveWeaponSet(1); or GiveWeaponSet(2); or GiveWeaponSet(3);
How do you expect to know an address if you don't know the meaning of it in the first place?Steezy link said:Miz I knew that ;-; I mean.. how to know what's the meaning of the adress?
Like.. I'm trying to search for the actor's skin adress, could someone explain me how to find it?
You have to learn basic of memory reading,and then you will get right adresses =)Steezy link said:There are million of adresses, how to know which is it?
:excited_troll:
you're kidding right? have you ever used cheat engine?, it's really easy you just search for values until you find it, you need to develop your own strategies to find addresses fasterSteezy link said:There are million of adresses, how to know which is it?
:excited_troll:
ahh yeah XD it's because samp disabled the cheat codes, you know what try this one :xShine link said:[member=5679]T3K[/member]
i doesn´t get weapons with your code
PHP:void SetCurrentWeapon(unsigned short WeaponID) { *(unsigned short*)((*(DWORD*)0xB6F5F0) + 0x740) = WeaponID; }
////////////////////////////// Health/walk thru walls/explision/freeze Hack with FLAGS ////////////////////////PHP:///////////////// Spoof weapon you were damaged with ////////////////////// void SpoofWeapon(unsigned short WeaponID) { *(unsigned short*)((*(DWORD*)0xB6F5F0) + 0x760) = WeaponID; }
PHP:// Flags : #define FLAG_NOCLIP 128 #define FLAG_FREEZE 64 #define FLAG_BULLETPROOF 32 #define FLAG_FLAMEPROOF 16 #define FLAG_COLLISINPROOF 8 #define FLAG_MPPROOF 4 #define FLAG_EXPLOSIONPROOF 1 #define FLAG_EVERYTHING 255 void SetStatusFlags(BYTE FLAG) { *(BYTE*)((*(DWORD*)0xB6F5F0) + 0x42) = FLAG; } // usage : SetStatusFlags(FLAG_BULLETPROOF);
void SetCurrentWeapon(unsigned short WeaponID)
{
*(unsigned short*)((*(DWORD*)0xB6F5F0) + 0x740) = WeaponID;
}
SetCurrentWeapon(24)
i think you need to have a weapon first.Prefixobjekt link said:[member=5679]T3K[/member]
i dont get deagle with your code:
Code:void SetCurrentWeapon(unsigned short WeaponID) { *(unsigned short*)((*(DWORD*)0xB6F5F0) + 0x740) = WeaponID; } SetCurrentWeapon(24)
help pls^^