Post: Spawn Bots (Join Team + Pick Class Included) (SPRX)
03-24-2015, 09:13 AM #1
Shark
Retired.
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU... I've been working my ass off for a few days trying to get this piece of shit to work due to how fucking autistically SV_ExecuteClientCommand is on MW2, however I have succeeded in making it work....

although please note the function is extremely fucking buggy (blame the game), however it does work just as long as you don't spam it :p

anyway since it's too complicated to post a simple code you put into your source I am going to post my source hopefully it helps a few of you because it's not very simple :\

Includes
    
SV_ExecuteClientCommandHook (Used For Button Monitoring, You Will See In Source :p)
SV_ExecuteClientCommandCustom (Allows You To Call SV_ExecuteClientCommand on Any Client!)
A Bunch of other stuff that may be useful :p


How To Spawn Bots (Using The Source I Provided)
    
DPAD Down - Spawns The Bot (You Will See In Killfeed)
DPAD Up - Sets The Team of The Most Recent Spawned Bot
DPAD Right - Sets The Class of the Most Recent Spawned Bot
You could do this in a much better way but for experimenting this is how I did it (feel free to change idfc)


Download: You must login or register to view this content. - Ignore The Name, It's Just What I Named The Project.

Proof
You must login or register to view this content.
Last edited by Shark ; 08-29-2015 at 02:05 AM.

The following 21 users say thank you to Shark for this useful post:

/SneakerStreet/, 01cedricv2, AlexNGU, anxify, BaSs_HaXoR, Dog88Christian, FusionIsDaName, ItzMatriix, koekiemonstarr2, makeabce, mrdarkblue, mrtn, -Numb, oStankyModz, Kronos, Swaqq, Synergy, TheGreenPlanet, tunde1992, Laser
03-25-2015, 07:38 PM #11
Good Work!
05-11-2015, 10:05 PM #12
Falcon1234
Do a barrel roll!
Awesome going to try this tomorrow
06-27-2015, 09:18 AM #13
sleekshow
I defeated!
Bad ass going to try this
07-06-2015, 08:39 PM #14
ItzMatriix
Are you high?
Link is down

The following user thanked ItzMatriix for this useful post:

zMarcusHD
08-28-2015, 11:17 PM #15
Apex_Modz-
Do a barrel roll!
link not working?
08-29-2015, 02:06 AM #16
Shark
Retired.
Originally posted by ItzMatriix View Post
Link is down


Originally posted by Apex
link not working?


Link is fixed!

The following 2 users say thank you to Shark for this useful post:

Apex_Modz-, John
08-29-2015, 12:24 PM #17
Flotonydu71_
Bounty hunter
swegg
08-31-2015, 12:39 AM #18
alexjones1009
Bounty hunter
Originally posted by Shark View Post
Hey NGU... I've been working my ass off for a few days trying to get this piece of shit to work due to how fucking autistically SV_ExecuteClientCommand is on MW2, however I have succeeded in making it work....

although please note the function is extremely fucking buggy (blame the game), however it does work just as long as you don't spam it :p

anyway since it's too complicated to post a simple code you put into your source I am going to post my source hopefully it helps a few of you because it's not very simple :\

Includes
    
SV_ExecuteClientCommandHook (Used For Button Monitoring, You Will See In Source :p)
SV_ExecuteClientCommandCustom (Allows You To Call SV_ExecuteClientCommand on Any Client!)
A Bunch of other stuff that may be useful :p


How To Spawn Bots (Using The Source I Provided)
    
DPAD Down - Spawns The Bot (You Will See In Killfeed)
DPAD Up - Sets The Team of The Most Recent Spawned Bot
DPAD Right - Sets The Class of the Most Recent Spawned Bot
You could do this in a much better way but for experimenting this is how I did it (feel free to change idfc)


Download: You must login or register to view this content. - Ignore The Name, It's Just What I Named The Project.

Proof
You must login or register to view this content.


Nice man, you're always releasing the coolest shit on this site, you're an amazing coder. :wub:
02-28-2016, 01:23 AM #19
Originally posted by alexjones1009 View Post
Nice man, you're always releasing the coolest shit on this site, you're an amazing coder. :wub:


can u fix the link mate Smile

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo