8 175
98
8 175
98
* Spawn Custom Ped Models (Ally Or Enemy) *
I decided today to make a simple script which will provide an option to spawn custom peds as enemies or allies!
Requirements:
Latest version of Scripthook
Latest version of ScripthookVDotNet
Latest version of LUA
Latest version of AddonPeds
Any Addon Ped for Ally
Any Addon Ped for Enemy
Hotkeys:
Press "End" to spawn War-Machine ally (with no weapons but immortal)
Press "Page Down" to spawn Carnage-Spider as enemy (with knife & big health amount)
Script Customisations:
If you want to change the hotkeys:
For Enemy find and edit:
if(get_key_pressed(34)) then
For Ally find and edit:
if(get_key_pressed(35)) then
The numbers 34 or 35 are the "Page Down" & "End" hotkeys, list of the hotkeys you can find HERE (Click me)
If you want to change the model of the Enemy or Ally then open the Enemy.lua or the Ally.lua and find the:
GAMEPLAY.GET_HASH_KEY("SPIDERCARNAGE")
or
GAMEPLAY.GET_HASH_KEY("WARMACHINE")
And rename the "SPIDERCARNAGE" to whatever is named your custom model!
Or rename the "WARMACHINE" to whatever is named your custom model!
Like my FB Page for news, references & etc:
https://www.facebook.com/GTAVTMBModding/
If you want early access to my new mod releases support me via patreon:
https://www.patreon.com/TheMadBreaker
I decided today to make a simple script which will provide an option to spawn custom peds as enemies or allies!
Requirements:
Hotkeys:
Press "End" to spawn War-Machine ally (with no weapons but immortal)
Press "Page Down" to spawn Carnage-Spider as enemy (with knife & big health amount)
Script Customisations:
If you want to change the hotkeys:
For Enemy find and edit:
if(get_key_pressed(34)) then
For Ally find and edit:
if(get_key_pressed(35)) then
The numbers 34 or 35 are the "Page Down" & "End" hotkeys, list of the hotkeys you can find HERE (Click me)
If you want to change the model of the Enemy or Ally then open the Enemy.lua or the Ally.lua and find the:
GAMEPLAY.GET_HASH_KEY("SPIDERCARNAGE")
or
GAMEPLAY.GET_HASH_KEY("WARMACHINE")
And rename the "SPIDERCARNAGE" to whatever is named your custom model!
Or rename the "WARMACHINE" to whatever is named your custom model!
Like my FB Page for news, references & etc:
https://www.facebook.com/GTAVTMBModding/
If you want early access to my new mod releases support me via patreon:
https://www.patreon.com/TheMadBreaker
Перше завантаження: 19 Вересня 2016
Останнє оновлення 19 Вересня 2016
Last Downloaded: 1 день назад
56 коментаря
More mods by TheMadBreaker:
* Spawn Custom Ped Models (Ally Or Enemy) *
I decided today to make a simple script which will provide an option to spawn custom peds as enemies or allies!
Requirements:
Latest version of Scripthook
Latest version of ScripthookVDotNet
Latest version of LUA
Latest version of AddonPeds
Any Addon Ped for Ally
Any Addon Ped for Enemy
Hotkeys:
Press "End" to spawn War-Machine ally (with no weapons but immortal)
Press "Page Down" to spawn Carnage-Spider as enemy (with knife & big health amount)
Script Customisations:
If you want to change the hotkeys:
For Enemy find and edit:
if(get_key_pressed(34)) then
For Ally find and edit:
if(get_key_pressed(35)) then
The numbers 34 or 35 are the "Page Down" & "End" hotkeys, list of the hotkeys you can find HERE (Click me)
If you want to change the model of the Enemy or Ally then open the Enemy.lua or the Ally.lua and find the:
GAMEPLAY.GET_HASH_KEY("SPIDERCARNAGE")
or
GAMEPLAY.GET_HASH_KEY("WARMACHINE")
And rename the "SPIDERCARNAGE" to whatever is named your custom model!
Or rename the "WARMACHINE" to whatever is named your custom model!
Like my FB Page for news, references & etc:
https://www.facebook.com/GTAVTMBModding/
If you want early access to my new mod releases support me via patreon:
https://www.patreon.com/TheMadBreaker
I decided today to make a simple script which will provide an option to spawn custom peds as enemies or allies!
Requirements:
Hotkeys:
Press "End" to spawn War-Machine ally (with no weapons but immortal)
Press "Page Down" to spawn Carnage-Spider as enemy (with knife & big health amount)
Script Customisations:
If you want to change the hotkeys:
For Enemy find and edit:
if(get_key_pressed(34)) then
For Ally find and edit:
if(get_key_pressed(35)) then
The numbers 34 or 35 are the "Page Down" & "End" hotkeys, list of the hotkeys you can find HERE (Click me)
If you want to change the model of the Enemy or Ally then open the Enemy.lua or the Ally.lua and find the:
GAMEPLAY.GET_HASH_KEY("SPIDERCARNAGE")
or
GAMEPLAY.GET_HASH_KEY("WARMACHINE")
And rename the "SPIDERCARNAGE" to whatever is named your custom model!
Or rename the "WARMACHINE" to whatever is named your custom model!
Like my FB Page for news, references & etc:
https://www.facebook.com/GTAVTMBModding/
If you want early access to my new mod releases support me via patreon:
https://www.patreon.com/TheMadBreaker
Перше завантаження: 19 Вересня 2016
Останнє оновлення 19 Вересня 2016
Last Downloaded: 1 день назад
This is outdated from now one! I won't update it anymore.. But a lot better mod was RELEASED! I recommend you to use this mod instead:
https://www.gta5-mods.com/scripts/addonpeds-bodyguard-menu-net
@Walrider find
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(BadGuyEnemy.peds[i], GAMEPLAY.GET_HASH_KEY("WEAPON_KNIFE"), 0, false)
and replace WEAPON_KNIFE with you desire weapon. Use this http://www.se7ensins.com/forums/threads/weapon-and-explosion-hashes-list.1045035/
@Snake514 Just delete this:
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(BadGuyEnemy.peds[i], GAMEPLAY.GET_HASH_KEY("WEAPON_KNIFE"), 0, false)
@TheMadBreaker how to give ally weapon ?
@Walrider find:
PED.SET_PED_CAN_SWITCH_WEAPON(Bodyguard.peds[i],false)
and replaced it with:
PED.SET_PED_CAN_SWITCH_WEAPON(Bodyguard.peds[i],true)
WEAPON.GIVE_DELAYED_WEAPON_TO_PED(Bodyguard.peds[i], GAMEPLAY.GET_HASH_KEY("WEAPON_KNIFE"), 0, false)
WEAPON_KNIFE is weapon knife and , 0, false is the amount of the ammo if you want to give them a lot of ammo just type 1000
can you give me the weapon names ("WEAPON_KNIFE"),
for other weapon please
@TheMadBreaker thx
@Snake514 here:
http://www.se7ensins.com/forums/threads/weapon-and-explosion-hashes-list.1045035/
THX @TheMadBreaker
@Snake514 For nothing brother i'm always here to help so if you want something just tell me :)
Video institution would tell Video institution would tell Video institution would tell
can you please make a custom script where custom peds can have money and use money the same way mp players can?
@TheMadBreaker hey dude.. i wanna ask..
how to spawning other ally with different skins??
coz it will be cool if it can makes like an avengers.. :D
*plase reply.. :)
I need scripter that can help me creating a menu for this mod.. Anybody is free to help.. Contact me via FB..
For anyone who needs help installing check this tutorial out https://www.youtube.com/watch?v=ZXLU0Zh8a-k
@TheMadBreaker Hi man when I spawn the guy he just runs away if I have a weapon equipped. Do you know how to solve this issue? thx
@LtRob Um actually nope.. I don't make anymore scripts.. But you can use this script instead which hasn't this bug and it's the same:
https://www.gta5-mods.com/scripts/addonpeds-bodyguard-menu-net
@TheMadBreaker thx i'll try
Give an invincible or elevated health level to a PED created in MAP editor
whenever i try to spawn an ally or an enemy this is showing and the menu(F10) is not working , Please Help
Unhandled exception in script "ThorScript.ThorScript"!
NullReferenceException at ThorScript.ThorScript.SetPedAsAllyOrEnemy(Boolean AsAlly, PoweredUser user, ProfieSetting profile)
anyone know of a mod where i can choose any ped, add on, or not, to be my enemy or bodyguard, but lets me choose for enemies to ambiently spawn?