Hola, Soy nuevo aquì y he tratado de hacer un script que te diga el pais del jugador, por un drawText, El punto es que quiero saber si voy bien o mal, si voy mal porfavor diganme cual es el error ^^. Gracias
Aquì El Codigo:
countryNames = { ["VZ"]="Venezuela" } function showCountry() local pais = exports.admin:getPlayerCountry(source) dxDrawText("Pais: "..tostring(countryNames[countryCodes]).."", 347, 325, 506, 346, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, showCountry)
ah por cierto, el error es: ERROR:pais/client.lua7: call: failed to call 'admin:getPlayerCountry' [string "?"]