Jump to content

very easy problem


xTravax

Recommended Posts

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

Link to comment

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...