What's new

Code [SOURCE] Bodyguards w/ Online player Hitlist

  • Thread starter Emmanuel U
  • Start date
  • Views 4,966
E

Emmanuel U

ЖMC - Mx3
Messages
1,002
Reaction score
1,099
This is nothing too special, just something I made after I saw the Gangwar mini-game on PSX.

http://pastebin.com/pcGxdxsa

This will spawn upto 11 guards each individually tracked with gameped[#] so that you can call them seperatly to do tasks.

Example usage for the guard spawner:
Code:
spawnguards(MODEL_IG_BRUCIE WEAPON_M4);


known bugs:
Dwayne doesn't seem to want to delete (as seen in the video)

Credit:
Me - Wrote the script
Hun - Gave me the idea with Gang war
 
Last edited:
D

Dark Radium

Enthusiast
Messages
32
Reaction score
6
I know how to compile but what would I name this? For example in Keredor's Ped Release everything was a .c file.
 
D

DatBoiJay53

Enthusiast
Messages
634
Reaction score
120
This is nothing too special, just something I made after I saw the Gangwar mini-game on PSX.

http://pastebin.com/pcGxdxsa

This will spawn upto 11 guards each individually tracked with gameped[#] so that you can call them seperatly to do tasks.

Example usage for the guard spawner:
Code:
spawnguards(MODEL_IG_DWAYNE, WEAPON_M4);

Credit:
Me - Wrote the script
Hun - Gave me the idea with Gang war
do the guards die?
 
B

B1ACK D1AMOND

Enthusiast
Messages
37
Reaction score
13
Noob Alert! (Sorry, I've searched tirelessly but cannot solve the mystery of scripting on my own)

Is this already a finished menu I simply compile and add as a slot/plugin?

If not can someone guide me in the right direction of how to successfully use this?

I may be overthinking this, but I'm getting a vibe that I have to write lines that establish what buttons to press to spawn them, make them attack, etc. I know this is probably very nooby to ask, but I'm asking to get informed and rid of my ignorance.
 
E

Emmanuel U

ЖMC - Mx3
Messages
1,002
Reaction score
1,099
this isn't a standalone script, I'd say wait for v3 of the xmc menu because this is built into it.
do the guards die?
nope they have godmode when spawned
I know how to compile but what would I name this? For example in Keredor's Ped Release everything was a .c file.
you shouldn't just compile this on its own, just add it to your own script
 
D

Dark Radium

Enthusiast
Messages
32
Reaction score
6
Thanks for clarifying, I am a noob when it comes to scripts :tongue:
 
T

X ADRENALINE IX

Enthusiast
Messages
495
Reaction score
379
Didnt think you would release this as source :tongue:. I got some funny messages while testing this for you. lmao
 
Last edited:
T

X ADRENALINE IX

Enthusiast
Messages
495
Reaction score
379
Noob Alert! (Sorry, I've searched tirelessly but cannot solve the mystery of scripting on my own)

Is this already a finished menu I simply compile and add as a slot/plugin?

If not can someone guide me in the right direction of how to successfully use this?

I may be overthinking this, but I'm getting a vibe that I have to write lines that establish what buttons to press to spawn them, make them attack, etc. I know this is probably very nooby to ask, but I'm asking to get informed and rid of my ignorance.
Thats right you have to add the code to either muskelprotzes stash source or xmc's, you will also need to put in the required code into the setup to add each guard and
you didnt fix the typo print :tongue:
 
E

Emmanuel U

ЖMC - Mx3
Messages
1,002
Reaction score
1,099
Thats right you have to add the code to either muskelprotzes stash source or xmc's, you will also need to put in the required code into the setup to add each guard and
you didnt fix the typo print :tongue:
lol what ever the print typo won't hurt anyone :tongue:
 
I

IIUNKNOWN OUTLAWII

Enthusiast
Messages
54
Reaction score
10
not sure why but i keep getting this error:

1 compiler: expected '=', ',', ';', 'asm' or '__attribute__' before 'gameped'
 
E

Emmanuel U

ЖMC - Mx3
Messages
1,002
Reaction score
1,099
are you compiling this as a standalone?
 
S

screwFACE65

▓▓▓▓▓▓▓▓▓▓
Messages
1,195
Reaction score
221
Hit list meaning what can I make the guards attack online players..??lol
 
E

Emmanuel U

ЖMC - Mx3
Messages
1,002
Reaction score
1,099
lol yea, I'll get a video to clear up some of the questions I've been getting
 
S

SBHAX

Aye so...
Messages
2,934
Reaction score
2,137
This is so funny :tongue: Rendering a video now :biggrin:
 
Top Bottom