Khalil Posted August 30, 2012 Posted August 30, 2012 How do I: 1. Give a frozen ped a weapon. 2. Make him un-killable 3. Animate Hand Crossing ( I know the Syntax I wanna know the ID of this animation itself )
Entity Posted August 30, 2012 Posted August 30, 2012 Giving Weapon: giveWeapon ( thePed, theWeapon, 30, true ) Weapon IDs: https://wiki.multitheftauto.com/wiki/Weapon Making Him Unkillable: function cancelPedDamage(attacker) cancelEvent() end addEventHandler ("onClientPedDamage",root,cancelPedDamage) function cancelpedkills(vPed) if getElementType(vPed)=="ped" then cancelEvent() end end addEventHandler("onClientPlayerStealthKill",localPlayer,cancelpedkills) Crossed Arm Animation: setPedAnimation ( thePed, "COP_AMBIENT", "Coplook_loop", true )
Khalil Posted August 30, 2012 Author Posted August 30, 2012 giveWeapon doesn't work... Do I have to setWeaponSlot?
Castillo Posted August 30, 2012 Posted August 30, 2012 Your ped is server side, right? because giveWeapon is server side only.
Castillo Posted August 30, 2012 Posted August 30, 2012 Your ped is server side, right? because giveWeapon is server side only.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now