Results 1 to 13 of 13
  1. #1
    silentus's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Nowhere town
    Posts
    54
    Reputation
    10
    Thanks
    578
    My Mood
    Cool

    SA-MP Weapon Spawner in Visual Basic + Source Code

    Hi!
    Today i have made a little tool in Visual Basic that basically is spawning the weapons in SA-MP game (works with all versions i think..)
    Only bug i spotted is that when you spawn a gun & run out of ammo & spawn it again, you wont really shoot anymore (just anim) and i have no idea why that happens.

    I also provide the source code in the rar archive with detailed comments, so "newbies" or just people that didnt know it can learn how, also i made a function that automatically calculates the offset (the weapons are divided to slots, first slot is CPed + 5A0 and every next is +1C, so i put the +1C code into a loop and it loops as many times as our slot number)
    You got everything explained in the source code (i used Visual Basic 2008 Express)

    How to use it:
    Select the weapon from combo box
    Customize the ammo value
    Press SPAWN

    Scans:
    https://www.virustotal.com/pl/file/1...is/1373142928/
    SAMP_Weapon_Spawn_VB.rar - Skaner malware'u Jotti
    The Ikarus is detecting something, and i have no idea why. Anyways if you dont trust then look up the source code or even compile it on your own, i never ever created a virus.
    Screen:


    Download in attachment
    <b>Downloadable Files</b> Downloadable Files
    Last edited by silentus; 07-07-2013 at 04:54 AM.

  2. The Following 122 Users Say Thank You to silentus For This Useful Post:

    7fold12 (05-02-2014),Abisme (05-02-2014),Abome (06-20-2015),Ace_Attacker (08-06-2013),AgusZ (01-02-2015),Aiduzas (07-03-2014),Alexisaah (07-27-2013),andrewbantoc (07-15-2014),Angel998 (10-01-2015),arb164 (08-04-2014),astup (03-31-2014),aurzer2 (01-29-2015),banxzs (12-13-2018),barbulescu12 (07-19-2013),barongergo (07-14-2013),BeyondBlue (08-14-2013),bilicae123 (10-22-2014),bojan69 (06-16-2015),brave123 (06-05-2014),bushcena (03-01-2015),Chilleddragon (10-20-2014),ClarkW (04-05-2015),cOBRaPH (07-24-2017),CringeHaxball (04-27-2018),Dagreatray (07-11-2013),DarkHub (12-28-2022),darkside81 (10-28-2013),DarthSpader (07-15-2013),Djswag (07-06-2013),Dvmass (07-09-2013),EESTIsmile (08-25-2016),ElectricityBoy (11-04-2014),Emirde (01-18-2018),Etred (03-28-2017),everywheree (07-20-2013),ExpeditiousNova (07-06-2013),ExplosiveCheese (05-30-2014),FayneRosario (07-26-2013),florian47756 (07-30-2013),fraisport (07-27-2014),GamoXL (05-15-2017),geaspa21 (07-18-2014),gestox (04-19-2015),giangbkz (07-06-2013),Hackswork (03-10-2014),hafizfitrah (01-26-2014),HDJoWa (08-01-2014),hellride (07-20-2013),heohanwuoc (07-11-2013),horsekiller (08-09-2014),jasperge112 (07-07-2013),jayd00 (10-03-2014),jhordano (04-02-2014),JustForFree (07-07-2013),kansotiyahoney (03-31-2015),Kecskegida (10-21-2014),kenrazer (07-18-2013),Kezone (11-24-2013),Kezone1 (11-24-2013),khaiming90942 (12-05-2013),kiko330 (11-06-2013),malta160 (07-08-2013),marcelcan1996 (07-20-2013),Masterflash221 (07-22-2013),MasterImamovic (12-06-2014),McFly2210 (07-14-2013),MegaCZ (07-08-2013),MetaDr0id (07-13-2013),mierdoso (02-14-2016),Mohamedhosni (08-07-2015),molon (08-03-2013),mp20033 (09-25-2014),mrplaysplays (07-24-2017),mrsorbitol (06-15-2014),Naim1234 (02-10-2014),NazZari (12-17-2016),nb1318 (09-02-2015),nicu01 (06-23-2014),Niklavijus (09-04-2014),NosZ_KiLLeR (09-29-2016),NuWind (07-07-2013),Ocremaro (07-29-2013),olim38 (01-16-2014),pak1puncher (08-10-2013),PePPer123123 (10-16-2013),peroija (02-08-2015),prohackernoob (07-26-2014),RalfasLTU (07-09-2013),Reaperinside (12-28-2014),riklys14 (07-14-2013),rohamen6060 (07-13-2013),rupin (07-15-2013),Samet00 (05-31-2019),sandyclawz (07-07-2013),shaikez2 (11-27-2018),SilverMario (05-08-2016),SirRyanTheBaron (03-18-2016),SKBVN (07-10-2013),Slaven12 (10-26-2016),Sly_Shadow (09-02-2014),Snooovit (08-06-2013),solidize (07-31-2013),sucesfully (08-29-2014),sw3gnigga (08-13-2015),tebrex41 (02-14-2014),thefoehammer (07-21-2014),TheKracker (07-25-2013),wbNNA (07-30-2014),Wifllo (04-16-2016),xFucker (06-04-2015),xindy2321 (04-25-2015),xOGxSmoke420 (07-27-2013),XpPro1900 (03-02-2014),xXDKDKDKXx (10-17-2013),xxyyz7788 (07-09-2022),Yautja (01-03-2014),Yohan99 (01-07-2015),zarix (08-10-2013),ZeratulDT (07-06-2013),zxmoody (06-19-2014),~ Lynn ~ (07-01-2016),~Duud~ (07-11-2013)

  3. #2
    ZeratulDT's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    thxxxxxxxxxxxxxxxxxxxxxx

  4. #3
    ExpeditiousNova's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    18
    Reputation
    10
    Thanks
    10
    thank youuuu xD

  5. #4
    Austin's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Great White North
    Posts
    30,484
    Reputation
    6104
    Thanks
    8,326
    My Mood
    Lurking
    Quote Originally Posted by silentus View Post
    Download in attachment
    could you provide some screenshots?




    VIP Support // May 2011
    CF Minion // January 2012
    Newsforce // August 2012
    Minion+ // March 2013
    Moderator // August 2014
    Former Staff // January 2015
    General Minion // July 2015
    Publicist // December 2015





  6. #5
    silentus's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Nowhere town
    Posts
    54
    Reputation
    10
    Thanks
    578
    My Mood
    Cool
    Sure, done

  7. #6
    sandyclawz's Avatar
    Join Date
    Dec 2010
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    It would be cool to see if this works where I want it to =D

  8. #7
    Bernard's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Purgatory
    Posts
    26,364
    Reputation
    3488
    Thanks
    3,546
    My Mood
    Lurking
    Looks alright.

    #Approved
    Rep. Power: 126

    Minion: 11/28/12-3/15/14

  9. The Following User Says Thank You to Bernard For This Useful Post:

    NuWind (07-07-2013)

  10. #8
    silentus's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Nowhere town
    Posts
    54
    Reputation
    10
    Thanks
    578
    My Mood
    Cool
    @sandyclawz what do you mean ? It works.
    If someone wants to "cut" out the SpawnWeapon() function to use it without any Combo Boxes and other things, then you would need to create some kind of list of weapon IDs and their slots, you could also use a IF operator on the "id" variable and get the proper slot (from a list i think)
    Anyways i can help, all you need to have is the MemoryModule.vb (its a universal module for editing the memory) if someone has a problem then just PM me and we can talk on Skype
    Last edited by silentus; 07-07-2013 at 12:59 PM. Reason: Lost few words..

  11. #9
    dualelites1's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    49
    Reputation
    10
    Thanks
    4
    One question. When you find the adress of weapon how you spawn? with what program? help me

  12. #10
    silentus's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    Nowhere town
    Posts
    54
    Reputation
    10
    Thanks
    578
    My Mood
    Cool
    You don't find the weapon address but the address to slot, then you just write the weapon ID to this address and also the ammo value otherwise you won't see it ( ammo addy is slot addy + 12 and its not a pointer, you just add 12 to that address.
    There's a website with gta sa addresses, I'm on my phone so I can't give you now. There's a list of weapon slots & IDs that go to them ( you can't spawn minigun in other slot than heavy weapons )
    Last edited by silentus; 07-08-2013 at 01:20 AM.

  13. #11
    xAcidicOverlord's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Is this currently detected on anti-cheat servers? Has someone tested on popular servers with good anti-cheat?

  14. #12
    PrototypeRifle5's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    36
    Reputation
    16
    Thanks
    2
    My Mood
    Relaxed
    Quote Originally Posted by xAcidicOverlord View Post
    Is this currently detected on anti-cheat servers? Has someone tested on popular servers with good anti-cheat?
    I got banned from a popular server for using this "Hacked Weapon (MP5)" even though the MP5 was actually a gun you could buy on that server. I wouldn't reccomend it if its a server you like, but just for a piss-fart around, go ahead.

  15. #13
    Leighton27's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Oh, so i'm guessing this dosn't work on the Roleplay servers?

Similar Threads

  1. [Source Code]Undetect DLL Injector For Visual Basic[Source Code]
    By HskCool in forum Programming Tutorial Requests
    Replies: 2
    Last Post: 12-11-2012, 08:55 PM
  2. [HELP] need help finding my old nametags visual basics source code...
    By ken53406 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 09-23-2010, 03:27 PM
  3. [Release] My very first Visual basics 2008 coded hack!!
    By Ragehax in forum Combat Arms Hacks & Cheats
    Replies: 60
    Last Post: 09-20-2009, 04:33 AM
  4. ALL OF MY VISUAL BASIC SOURCE CODES!!
    By Pixie in forum Visual Basic Programming
    Replies: 5
    Last Post: 08-08-2009, 10:36 AM
  5. Visual Basic 6 codes
    By jokuvaan11 in forum WarRock - International Hacks
    Replies: 13
    Last Post: 06-08-2007, 03:01 PM