-.Paradox.- Posted June 25, 2013 Share 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 Link to comment
iPrestege Posted June 25, 2013 Share 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, ...] Link to comment
-.Paradox.- Posted June 25, 2013 Author Share Posted June 25, 2013 Were i have to add that ? Link to comment
iPrestege Posted June 25, 2013 Share Posted June 25, 2013 function getRep ( source, commandName, playerName ) To : function getRep ( commandName, playerName ) Link to comment
-.Paradox.- Posted June 25, 2013 Author Share Posted June 25, 2013 Thanks but what bout the spawnpoints ? here : /viewtopic.php?f=91&t=61283 Link to comment
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