xTravax Posted July 8, 2014 Posted July 8, 2014 whats wrong in here? function gett() local mPlayer = getPlayerFromName("test") if getPlayerSerial(mPlayer) == "hidden" then -- hidden (privacy on first place) outputChatBox("1",mPlayer) setWeaponProperty(26, "pro", "flag_type_dual", true) outputChatBox("2",mPlayer) else outputChatBox(" f ",mPlayer) end end addCommandHandler("sawn",gett) this is suppost to make my character have dual sawn offs but it doesnt. it outputs 1 and 2 tho but doesnt output f
MIKI785 Posted July 8, 2014 Posted July 8, 2014 You do have dual sawn-offs by default afaik... Do you have the "pro" skill level? Try replacing setWeaponProperty with this: setPedStat(mPlayer, 73, 1000) Lua Scripter Owner of mshost.cz MTA portal.
MIKI785 Posted July 8, 2014 Posted July 8, 2014 Ok, youre welcome. Lua Scripter Owner of mshost.cz MTA portal.
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