Hello, when I trying to use this script:
Console is giving me a error like this:
... addempt to call global lua (something like this) for getPlayerFrags(cid)
Can someone help me, please?
Lua:
function onLook(cid, thing, position, lookDistance)
if isPlayer(thing.uid) and thing.uid ~= cid then
doPlayerSetSpecialDescription(thing.uid,'\n[Lv: '..getPlayerLevel(thing.uid)..'] [Frags: '..getPlayerFrags(thing.uid)..']')
end
return true
end
Console is giving me a error like this:
... addempt to call global lua (something like this) for getPlayerFrags(cid)
Can someone help me, please?