give Weapons

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:
 

Prefixobjekt

Active member
Joined
Aug 1, 2014
Messages
55
Reaction score
0
why not?

i test it on my server... no ban..

[member=5679]T3K[/member]
is it possible to increase the game speed? for me it does not work
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
Oh you mean get weapons not give weapons  :ppffh:

for GameSpeed try this code :

PHP:
void SetGameSpeed(float Speed)
{
    *(float*)0xB7CB64 = Speed;
}



___________________________

example: SetGameSpeed(1.5);
 

Prefixobjekt

Active member
Joined
Aug 1, 2014
Messages
55
Reaction score
0
[member=5679]T3K[/member]

oh thanx i must wrote this into a loop ;)

but how "get" weapons? :D
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
Prefixobjekt link said:
[member=5679]T3K[/member]

oh thanx i must wrote this into a loop ;)

but how "get" weapons? :D

for weapons there is an easy way to get a pack of weapons (like when you use cheat codes)
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);

it will give you something like AK47, deagle, knife, dildo, other set will give you bazooka or mini gun etc...
 

Steezy

Active member
Joined
Jul 26, 2013
Messages
111
Reaction score
0
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?
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
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?
How do you expect to know an address if you don't know the meaning of it in the first place?

are you being serious now...  :kidding:

if you want to search for the skin address you have to change your skin a couple of times and then see what value changes until you find the right address...
 

Steezy

Active member
Joined
Jul 26, 2013
Messages
111
Reaction score
0
There are million of adresses, how to know which is it?
:excited_troll:
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
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 faster
 

xShine

Active member
Joined
Jun 12, 2014
Messages
38
Reaction score
0
[member=5679]T3K[/member]

i doesn´t get weapons with your code
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
xShine link said:
[member=5679]T3K[/member]

i doesn´t get weapons with your code
ahh yeah XD it's because samp disabled the cheat codes, you know what try this one :
PHP:
void SetCurrentWeapon(unsigned short WeaponID)
{
*(unsigned short*)((*(DWORD*)0xB6F5F0) + 0x740) = WeaponID;
}

it will set your current weapon(fist / gun/ dildo watherver) to the weapon you choose by id.
reply to me back if it works ok?

BONUS: change weapon you was hit with (fake kill)

PHP:
///////////////// Spoof weapon you were damaged with //////////////////////
void SpoofWeapon(unsigned short WeaponID)
{
*(unsigned short*)((*(DWORD*)0xB6F5F0) + 0x760) = WeaponID;
}
////////////////////////////// Health/walk thru walls/explision/freeze Hack with FLAGS ////////////////////////
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);
 

Prefixobjekt

Active member
Joined
Aug 1, 2014
Messages
55
Reaction score
0
[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^^
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
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^^
i think you need to have a weapon first.
 
Top