weapon spawn meathod

Posts 113 of 13 · Page 1 of 1
weapon spawn meathod
// Character and Weapons Slots
uint8 ID = pMsg->Readuint8( );
if( ID == 114 )
{
CAutoMessage character;
character.Reset( );
character.Writeuint8( 114 );

for( uint32 i = 0; i < ( pMsg->Size( ) / sizeof( uint8 ) ); i++ )
{
INT backupID = pMsg->Readuint8();

if( i == 15 )
backupID = 10; // ( character )

if( i == 19 )
backupID = RankHackID; // ( rank )

if( i == 24 )
backupID = 108; // ( unlock slots Backpacks A, B, C, D )
if( i == 60 )
backupID = 28; // ( unlock slots Backpacks A, B, C, D )
if( i == 61 )
backupID = 23; // ( unlock slots Backpacks A, B, C, D )
if( i == 64 )
backupID = 16; // ( unlock slots Backpacks A, B, C, D )

if( i == 65 )
backupID = 50; // ( weapon slot 1 (Primary) - parameter 1 )
if( i == 66 )
backupID = 1; // ( weapon slot 1 (Primary) - parameter 2 )

if( i == 76 )
backupID = 76; // ( weapon slot 2 (Secondary) - parameter 1 )
if( i == 77 )
backupID = 0; // ( weapon slot 2 (Secondary) - parameter 2 )

if( i == 87 )
backupID = 153; // ( weapon slot 3 (Melee) - parameter 1 )
if( i == 88 )
backupID = 0; // ( weapon slot 3 (Melee) - parameter 2 )

if( i == 98 )
backupID = 57; // ( weapon slot 4 (Support) - parameter 1 )
if( i == 99 )
backupID = 0; // ( weapon slot 4 (Support) - parameter 2 )

if( i == 109 )
backupID = 25; // ( weapon slot 5 (Backpack A) - parameter 1 )
if( i == 110 )
backupID = 0; // ( weapon slot 5 (Backpack A) - parameter 2 )

if( i == 120 )
backupID = 53; // ( weapon slot 6 (Backpack B) - parameter 1 )
if( i == 121 )
backupID = 0; // ( weapon slot 6 (Backpack B) - parameter 2 )

if( i == 131 )
backupID = 37; // ( weapon slot 7 (Backpack C) - parameter 1 )
if( i == 132 )
backupID = 0; // ( weapon slot 7 (Backpack C) - parameter 2 )

if( i == 142 )
backupID = 15; // ( weapon slot 8 (Backpack D) - parameter 1 )
if( i == 143 )
backupID = 0; // ( weapon slot 8 (Backpack D) - parameter 2 )

character.Writeuint8( backupID );
}

return oSendToServer( character.Read(), Flags );
}


-------------------------------------------------------------------------------------------------------------------------------

// Weapons hack work on some servers.
//if( i == 65 )
// backupID = 50; // ( weapon slot 1 - parameter 1 ) // backupID = 50 => PP-19 MOD
//if( i == 66 )
// backupID = 1; // ( weapon slot 1 - parameter 2 ) // backupID = 1 => PP-19 MOD
//
//if( i == 76 )
// backupID = 76; // ( weapon slot 2 - parameter 1 ) // backupID = 76 => G23
//if( i == 77 )
// backupID = 0; // ( weapon slot 2 - parameter 2 ) // backupID = 0 => G23
//
//if( i == 87 )
// backupID = 167; // ( weapon slot 3 - parameter 1 ) // backupID = 167 => Foice
//if( i == 86 )
// backupID = 0; // ( weapon slot 3 - parameter 2 ) // backupID = 0 => Foice
//
//if( i == 98 )
// backupID = 57; // ( weapon slot 4 - parameter 1 ) // backupID = 57 => M16A1 AP MINE
//if( i == 99 )
// backupID = 0; // ( weapon slot 4 - parameter 2 ) // backupID = 0 => M16A1 AP MINE






useful or nah?
Quote Originally Posted by bog624 View Post
// Character and Weapons Slots
uint8 ID = pMsg->Readuint8( );
if( ID == 114 )
{
CAutoMessage character;
character.Reset( );
character.Writeuint8( 114 );

for( uint32 i = 0; i < ( pMsg->Size( ) / sizeof( uint8 ) ); i++ )
{
INT backupID = pMsg->Readuint8();

if( i == 15 )
backupID = 10; // ( character )

if( i == 19 )
backupID = RankHackID; // ( rank )

if( i == 24 )
backupID = 108; // ( unlock slots Backpacks A, B, C, D )
if( i == 60 )
backupID = 28; // ( unlock slots Backpacks A, B, C, D )
if( i == 61 )
backupID = 23; // ( unlock slots Backpacks A, B, C, D )
if( i == 64 )
backupID = 16; // ( unlock slots Backpacks A, B, C, D )

if( i == 65 )
backupID = 50; // ( weapon slot 1 (Primary) - parameter 1 )
if( i == 66 )
backupID = 1; // ( weapon slot 1 (Primary) - parameter 2 )

if( i == 76 )
backupID = 76; // ( weapon slot 2 (Secondary) - parameter 1 )
if( i == 77 )
backupID = 0; // ( weapon slot 2 (Secondary) - parameter 2 )

if( i == 87 )
backupID = 153; // ( weapon slot 3 (Melee) - parameter 1 )
if( i == 88 )
backupID = 0; // ( weapon slot 3 (Melee) - parameter 2 )

if( i == 98 )
backupID = 57; // ( weapon slot 4 (Support) - parameter 1 )
if( i == 99 )
backupID = 0; // ( weapon slot 4 (Support) - parameter 2 )

if( i == 109 )
backupID = 25; // ( weapon slot 5 (Backpack A) - parameter 1 )
if( i == 110 )
backupID = 0; // ( weapon slot 5 (Backpack A) - parameter 2 )

if( i == 120 )
backupID = 53; // ( weapon slot 6 (Backpack B) - parameter 1 )
if( i == 121 )
backupID = 0; // ( weapon slot 6 (Backpack B) - parameter 2 )

if( i == 131 )
backupID = 37; // ( weapon slot 7 (Backpack C) - parameter 1 )
if( i == 132 )
backupID = 0; // ( weapon slot 7 (Backpack C) - parameter 2 )

if( i == 142 )
backupID = 15; // ( weapon slot 8 (Backpack D) - parameter 1 )
if( i == 143 )
backupID = 0; // ( weapon slot 8 (Backpack D) - parameter 2 )

character.Writeuint8( backupID );
}

return oSendToServer( character.Read(), Flags );
}


-------------------------------------------------------------------------------------------------------------------------------

// Weapons hack work on some servers.
//if( i == 65 )
// backupID = 50; // ( weapon slot 1 - parameter 1 ) // backupID = 50 => PP-19 MOD
//if( i == 66 )
// backupID = 1; // ( weapon slot 1 - parameter 2 ) // backupID = 1 => PP-19 MOD
//
//if( i == 76 )
// backupID = 76; // ( weapon slot 2 - parameter 1 ) // backupID = 76 => G23
//if( i == 77 )
// backupID = 0; // ( weapon slot 2 - parameter 2 ) // backupID = 0 => G23
//
//if( i == 87 )
// backupID = 167; // ( weapon slot 3 - parameter 1 ) // backupID = 167 => Foice
//if( i == 86 )
// backupID = 0; // ( weapon slot 3 - parameter 2 ) // backupID = 0 => Foice
//
//if( i == 98 )
// backupID = 57; // ( weapon slot 4 - parameter 1 ) // backupID = 57 => M16A1 AP MINE
//if( i == 99 )
// backupID = 0; // ( weapon slot 4 - parameter 2 ) // backupID = 0 => M16A1 AP MINE






useful or nah?
doesnt work on na only br HAHAHHAHHAHAA which u stole the code from and just pasted here is was posted by brs on mpgh and UC
Quote Originally Posted by DisOwned View Post
doesnt work on na only br HAHAHHAHHAHAA which u stole the code from and just pasted here is was posted by brs on mpgh and UC
I did Indeed Repost it, You dont have to act like the 10 year old you are tho. when it comes to responding.

Edit: Didnt realize it was already posted xD
Quote Originally Posted by ObsoleteKid View Post
@DisOwned has a strong point (y)

yes and if it worked it wouldnt be weapon spawn
since 114 gets sent when you join the game and loads stuff like character & gear
so you would load in with the weapons so u would have to leave and join back everytime u want a new weapon
Quote Originally Posted by DisOwned View Post
yes and if it worked it wouldnt be weapon spawn
since 114 gets sent when you join the game and loads stuff like character & gear
so you would load in with the weapons so u would have to leave and join back everytime u want a new weapon
i have seen this a lot with character hacks and what not
Not's weapon spawn, this is Set weapon in Slot.
Quote Originally Posted by _ReturnsBR_ View Post
Goob Job
you apparently can't read a post

anywhore... yeah if this worked, it'd be hillarious, its been tested though
Quote Originally Posted by supercarz1991 View Post
you apparently can't read a post

anywhore... yeah if this worked, it'd be hillarious, its been tested though
must be a robot


or they only know how to post one thing hahaha
Quote Originally Posted by supercarz1991 View Post
or they only know how to post one thing hahaha
They are brazilian
Posts 113 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?