UserToDelete Posted January 6, 2015 Share Posted January 6, 2015 (edited) function tel(jugador) accountName = getAccountName(getAccountPlayer(jugador)) callBackFromThisRes = call(getResourceFromName("gang_system"), "isGangMember", "Mafia Caiman", accountName) --if isGangMember("Mafia Caiman", accountName) then if callBackFromThisRes then setElementPosition(jugador, 1520.0029296875, -1701.2421875, 13.546875) end end addCommandHandler("mafia", tel) Como hago para coger la cuenta y no el nombre del jugador? ._. no entiendo, mire en la wiki pero tampoco Edited January 6, 2015 by Guest Link to comment
Sasu Posted January 6, 2015 Share Posted January 6, 2015 · Hidden Hidden Creo que quieres poner getPlayerAccount en vez getAccountPlayer. Link to comment
Recommended Posts