golanu21 Posted February 26, 2013 Posted February 26, 2013 function randomFunction ( thePlayer ) setPlayerWantedLevel ( thePlayer, 1 ) outputChatBox ( getPlayerName ( thePlayer ) "released Public Intoxication WL", root, 255, 0, 0 ) end addCommandHandler ( "fart", randomFunction ) attempt to call global 'setPlayerWantedLevel
Castillo Posted February 26, 2013 Posted February 26, 2013 You surely defined the script as client side on meta.xml, but it's server side.
iPrestege Posted February 26, 2013 Posted February 26, 2013 function randomFunction( thePlayer ) setPlayerWantedLevel ( thePlayer, 1 ) outputChatBox (" "..getPlayerName(thePlayer).." released Public Intoxication WL ", root, 255, 0, 0 ) end addCommandHandler ( "fart", randomFunction )
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