Jump to content

Ped


Khalil

Recommended Posts

Posted

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 )

Level 3 admin on RRC:RPG.

560x95.png

Posted

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 ) 

2dvicdc.png2pq2asy.pnge02ykh.png2s6sv4l.png124bwvt.png

Posted

Your ped is server side, right? because giveWeapon is server side only.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Your ped is server side, right? because giveWeapon is server side only.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...