First, sorry for my English, I'm brazilian.
I'm beggining in the world of MTA scripting
I want to create a race script, but I'm not know how to get the second player name, money, etc.
How would the outputChatBox for the second player?
This script has begin with this command for example: /race playername (to invite an other player to race.)
local pName = getPlayerName(source)
-- local sName = getPlayerName() <- The second player name
local pMoney = getPlayerMoney(source)
-- local sMoney = getPlayerMoney() <- The second player money