TheCapn Posted May 14, 2014 Posted May 14, 2014 Hello guys, I was wondering if it was possible to make all the players handling the colt45 with the two hands while they shoot ? Regards,
xXMADEXx Posted May 14, 2014 Posted May 14, 2014 Use the function setPedStat and event onPlayerJoin/onPlayerLogin The Ultimate Lua Tutorial! | MTA PHP SDK
-.Paradox.- Posted May 14, 2014 Posted May 14, 2014 I don't think it's possible.. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
xXMADEXx Posted May 14, 2014 Posted May 14, 2014 I don't think it's possible.. It is, as you can see with this function... Use the function setPedStat and event onPlayerJoin/onPlayerLogin The Ultimate Lua Tutorial! | MTA PHP SDK
Moderators Citizen Posted May 14, 2014 Moderators Posted May 14, 2014 I don't think it's possible.. It is, as you can see with this function... Use the function setPedStat and event onPlayerJoin/onPlayerLogin What's the stat name then ? The rEvolution is coming ...
justn Posted May 14, 2014 Posted May 14, 2014 setPedStat (player, 69, 1000 ) Datastore - Store data to a database quickly. (Useful for saving scripted tables)
Moderators Citizen Posted May 14, 2014 Moderators Posted May 14, 2014 Thanks, always good to know that even if I'll probably never use it The rEvolution is coming ...
justn Posted May 14, 2014 Posted May 14, 2014 @Citizen You're welcome. @TheCapn Use this code below addEventHandler("onPlayerLogout",root, function(player) local acc = getPlayerAccount(player) if acc and not isGuestAccount ( acc ) then local DoubleColt = getPedStat(player,69) setAccountData(acc, "double.colt", DoubleColt ) end end ) addEventHandler("onPlayerLogin",root, function(player) local acc = getPlayerAccount(player) local DoubleColt = getAccountData(acc,"double.colt") setPedStat ( player, DoubleColt, 1000 ) end ) addEventHandler("onPlayerJoin",root, function(player) setPedStat ( player, 69, 1000 ) end ) Datastore - Store data to a database quickly. (Useful for saving scripted tables)
TheCapn Posted May 14, 2014 Author Posted May 14, 2014 I don't want the double colt, I just want to hold ONE colt with two hands. Sorry if I wasn't clear enough.
xXMADEXx Posted May 14, 2014 Posted May 14, 2014 Oh, that probably wouldn't be possible, I think you would need a custom animation which MTA doesn't support yet. The Ultimate Lua Tutorial! | MTA PHP SDK
Mr_Moose Posted May 15, 2014 Posted May 15, 2014 I think Deagle is held with two hands, another gun thought but still similar to colt if that's any help. MTA Community | GitHub | 99Stack Forum
-.Paradox.- Posted May 15, 2014 Posted May 15, 2014 Yeah, He still can change the properties of deagle to make it look like colt. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
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