Monty Posted October 20, 2012 Posted October 20, 2012 what's wrong with this function? function arrestNumber() playeraccount = getPlayerAccount( source ) arrestnumber = getAccountData( playeraccount, "arrestn" ) outputChatBox( "you got"..arrestnumber.."arrests", source, 100, 149, 237 ) end addCommandHandler( "arrest" , arrestNumber ) ANY SCRIPT REQUEST FOR FREE HERE: http://www.stolka.altervista.org
Guest Guest4401 Posted October 20, 2012 Posted October 20, 2012 function arrestNumber(player) playeraccount = getPlayerAccount( player ) arrestnumber = getAccountData( playeraccount, "arrestn" ) outputChatBox( "you got"..arrestnumber.."arrests", player, 100, 149, 237 ) end addCommandHandler( "arrest" , arrestNumber )
Castillo Posted October 20, 2012 Posted October 20, 2012 what's wrong with this function? function arrestNumber() playeraccount = getPlayerAccount( source ) arrestnumber = getAccountData( playeraccount, "arrestn" ) outputChatBox( "you got"..arrestnumber.."arrests", source, 100, 149, 237 ) end addCommandHandler( "arrest" , arrestNumber ) You don't have 'source' defined anywhere. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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