#Paper Posted October 15, 2010 Posted October 15, 2010 How i can make a command: /thx And in chatbox out this: AcitanoX say thanks to My skype: skiper964 I helped you? Help me! ^^ Help me bro! ^^
Castillo Posted October 15, 2010 Posted October 15, 2010 addCommandHandler("thx", function (thePlayer, command, arg1) if (arg1 == nil ) or not getPlayerFromName (arg1) then outputChatBox ("Error: You must insert a valid player name.", thePlayer, 255, 12, 15, false) else who = getPlayerFromName(arg1) outputChatBox(getPlayerName(thePlayer) .. " say thanks to ".. getPlayerName(who) .. "",getRootElement(),0,255,0) end end ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
#Paper Posted October 16, 2010 Author Posted October 16, 2010 ty solid! My skype: skiper964 I helped you? Help me! ^^ Help me bro! ^^
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