-.Paradox.- Posted June 25, 2013 Posted June 25, 2013 function getRep ( source, commandName, playerName ) if ( playerName ) then thePlayer = getPlayerFromName ( playerName ) if ( thePlayer ) then local ExP = getElementData(localPlayer,"ExP" ) outputChatBox ( getPlayerName ( thePlayer ).." Experience is "..ExP" !", source ) else outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) end end addCommandHandler ( "getexp", getRep ) The problem is "getexp" command dont work i dont know why help please If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
iPrestege Posted June 25, 2013 Posted June 25, 2013 function getRep ( source, commandName, playerName ) if ( playerName ) then thePlayer = getPlayerFromName ( playerName ) if ( thePlayer ) then local ExP = getElementData(localPlayer,"ExP" ) outputChatBox ( getPlayerName ( thePlayer ).." Experience is "..ExP" !", source ) else outputChatBox ( "Couldn't find '" .. playerName .. "'", source ) end end addCommandHandler ( "getexp", getRep ) The problem is "getexp" command dont work i dont know why help please string commandName, [string arg1, string arg2, ...]
-.Paradox.- Posted June 25, 2013 Author Posted June 25, 2013 Were i have to add that ? If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
iPrestege Posted June 25, 2013 Posted June 25, 2013 function getRep ( source, commandName, playerName ) To : function getRep ( commandName, playerName )
-.Paradox.- Posted June 25, 2013 Author Posted June 25, 2013 Thanks but what bout the spawnpoints ? here : /viewtopic.php?f=91&t=61283 If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
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