Fabioxps Posted April 1, 2013 Share Posted April 1, 2013 can someone tell me what do this wrong please addCommandHandler ( "a", function() local nick = getPlayerName() local players = getPlayerFromName(nick) local rank = exports.race:getPlayerRank(players)+0 outputChatBox( "Ganhador "..rank ) end) Link to comment
manawydan Posted April 1, 2013 Share Posted April 1, 2013 some errors. for example string getPlayerName ( player thePlayer ) Link to comment
INVINCIBLE Posted April 2, 2013 Share Posted April 2, 2013 addCommandHandler ( "a", function(source) local rank = getElementData(source,"race rank") outputChatBox( "Rank : "..rank ) end) Use this Link to comment
Fabioxps Posted April 2, 2013 Author Share Posted April 2, 2013 addCommandHandler ( "a", function(source) local rank = getElementData(source,"race rank") outputChatBox( "Rank : "..rank ) end) Use this I want to do this: https://forum.multitheftauto.com/viewtopic.php?f=91&t=56664 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