• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

function doPlayerShowFragsCount

GarQet

Own3d!
Joined
Feb 10, 2009
Messages
1,381
Solutions
14
Reaction score
81
Hello i have a problem, i copy from keraxel war one function:
function doPlayerShowFragsCount(cid, position)
local target = getThingFromPos(position)
if isPlayer(target.uid) == TRUE and getPlayerAccess(target.uid) < 3 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Frags: " .. getPlayerSoul(target.uid))
end
return TRUE
end
And i this past to data/lib, but this not worked, when i login on my OTS i see only "Connecting to World" and next i see a my information, but i dont see a mape, system back me to window "Enter game", i don't see a BUG, well What's wrong? Who can help me?

~~ Polish Version
Witam, skopiowałem z Keraxela wara pewną funkcję:
function doPlayerShowFragsCount(cid, position)
local target = getThingFromPos(position)
if isPlayer(target.uid) == TRUE and getPlayerAccess(target.uid) < 3 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Frags: " .. getPlayerSoul(target.uid))
end
return TRUE
end
Wstawiłem ją do data/lib, ale gdy się loguję do świata to pokazuje się tylko moja wiadomość którą ustawiłem na wlogowywanie się, ale mapa nie, poprostu widze tylko okno tibii, tak jakby nie udane logowanie, wywala mnie z konta, ale nie zdebugowywuje, nie poznawala pokazać mapy, nie wiem jak to wytłumaczyć. Jest ktoś w stanie pomóc co zrobić aby działało?
Proszę o pomoc.
 
Back
Top