Frank-De-Ruiter Posted January 9, 2008 Posted January 9, 2008 function camp ( command, text ) local thePlayer = getPlayerFromNick ( text ) outputChatBox ( "Dont Camp "..thePlayer.." Or Get Kicked By An Admin!") end addCommandHandler ( "camp", getPlayerFromNick, campcommand) Thats my /camp command i made but it doesnt work can someone tell what ive dont wrong? i need this command hope someone knows Greatings Frank
kevuwk Posted January 9, 2008 Posted January 9, 2008 function camp ( command, text ) local thePlayer = getPlayerFromNick ( text ) if ( thePlayer ) then outputChatBox ( "Dont Camp " .. getClientName ( thePlayer ) .. " Or Get Kicked By An Admin!", getRootElement() ) end end addCommandHandler ( "camp", camp ) or function camp ( command, text ) local thePlayer = getPlayerFromNick ( text ) if ( thePlayer ) then outputChatBox ( "Dont Camp Or Get Kicked By An Admin!", thePlayer ) end end addCommandHandler ( "camp", camp ) Kevuwk Any comments made are purely my own and do not represent the interests of the MTA Team
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