What's new

Code [SOURCE] Bodyguards w/ Online player Hitlist

  • Thread starter Emmanuel U
  • Start date
  • Views 5,806
Emmanuel U

Emmanuel U

ЖMC - Mx3
Modder Programmer Frame In Gold
Messages
1,002
Reaction score
1,100
Points
370
Sin$
0
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
Points
55
Sin$
0
I know how to compile but what would I name this? For example in Keredor's Ped Release everything was a .c file.
 
DatBoiJay53

DatBoiJay53

Enthusiast
Messages
634
Reaction score
120
Points
135
Sin$
0
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?
 
B1ACK D1AMOND

B1ACK D1AMOND

Enthusiast
Messages
37
Reaction score
13
Points
55
Sin$
0
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.
 
Emmanuel U

Emmanuel U

ЖMC - Mx3
Modder Programmer Frame In Gold
Messages
1,002
Reaction score
1,100
Points
370
Sin$
0
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
 
Three Sox

X ADRENALINE IX

Enthusiast
Messages
495
Reaction score
379
Points
115
Sin$
7
Didnt think you would release this as source :tongue:. I got some funny messages while testing this for you. lmao
 
Last edited:
Three Sox

X ADRENALINE IX

Enthusiast
Messages
495
Reaction score
379
Points
115
Sin$
7
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:
 
Emmanuel U

Emmanuel U

ЖMC - Mx3
Modder Programmer Frame In Gold
Messages
1,002
Reaction score
1,100
Points
370
Sin$
0
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:
 
INF4M0US G0D

IIUNKNOWN OUTLAWII

Enthusiast
Messages
54
Reaction score
10
Points
55
Sin$
0
not sure why but i keep getting this error:

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

screwFACE65

▓▓▓▓▓▓▓▓▓▓
Seasoned Veteran Grizzled Veteran
Messages
1,195
Reaction score
221
Points
200
Sin$
7
Hit list meaning what can I make the guards attack online players..??lol
 
Emmanuel U

Emmanuel U

ЖMC - Mx3
Modder Programmer Frame In Gold
Messages
1,002
Reaction score
1,100
Points
370
Sin$
0
lol yea, I'll get a video to clear up some of the questions I've been getting
 
Top Bottom
Login
Register