GamerDeMTA Posted July 1, 2013 Posted July 1, 2013 Hi. I need this: **How to do that a ped is only in the dimension 4, and ped has Invul, never dies** **How to execute a function only if the player is near to the ped** **How to give a beer to the player, and a function for check if the player has a beer**
Dealman Posted July 1, 2013 Posted July 1, 2013 You'll just have to be patient and wait for someone to answer, I'd love to help you out but I have no experience working with Peds. Best I could do would be to re-direct you to the MTA Wiki and look for ped related functions. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
Castillo Posted July 1, 2013 Posted July 1, 2013 For dimension: setElementDimension And to make it never die, you must cancel the event onClientPedDamage with cancelEvent. To make it execute a function when near, you can use colshapes. createColTube San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
GamerDeMTA Posted July 1, 2013 Author Posted July 1, 2013 And for give a beer to the player? Like in Normal GTA:SA?
Castillo Posted July 1, 2013 Posted July 1, 2013 Beer? all you can do is attach an object and use an animation. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iMr.3a[Z]eF Posted July 1, 2013 Posted July 1, 2013 Beer? all you can do is attach an object and use an animation. or he can use this https://community.multitheftauto.com/ind ... ls&id=2540 To Visit Us Press Here: mtasa://5.9.206.180:22002
Castillo Posted July 1, 2013 Posted July 1, 2013 Which is exactly what I said, I didn't specifiy how he had to attach it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
GamerDeMTA Posted July 1, 2013 Author Posted July 1, 2013 Did you play The TG Server? U can go near a person, press F and take a beer. (Without anims,
Castillo Posted July 1, 2013 Posted July 1, 2013 Ah, you mean that, well, you must use colshape, bindKey. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted July 1, 2013 Posted July 1, 2013 There's no such thing as "beer", you must use your imagination to make it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
iMr.3a[Z]eF Posted July 1, 2013 Posted July 1, 2013 createMarker "onMarkerHit" -- event setPedAnimation To Visit Us Press Here: mtasa://5.9.206.180:22002
PaiN^ Posted July 1, 2013 Posted July 1, 2013 Well you'll need to create a marker/col shape in the place you want the player to get beer from, and then use Bone attachments resource to attach the beer ( which is an object in the game ) to the player, And bind a key to set his animation to drink . " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
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