Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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 onUse(cid, item, fromPosition, itemEx, toPosition)
i = getGlobalStorageValue(cid,v[2])
if i <= 0 then
j = 1
else
j = i
end
local v = t[item.uid]
if v then
if p(cid,v[1]) == -1 then
setGlobalStorageValue(cid,v[2],1+j)...
i'm trying to add a frag to players in a creature event;
the part that add frags is
l = db.executeQuery("INSERT INTO `player_deaths` (`player_id`, `date`, `level`) VALUES (" .. getPlayerGUID(pid) .. ", " .. os.time() .. ", " .. getPlayerLevel(pid) .. ");")
j = db.executeQuery("INSERT INTO...
can't use other rev, i can fix this one, but can't use another, if i do i'll have to edit all again..
i'm using a downloaded from here, i've already updated my lib... i changed to the lib of the trunk when i compiled
[FIXED] close please
well, i'm killing a player without skull..
19:53 Warning! The murder of Aewe Wddf was not justified.
and i'm not getting frags...
19:53 You currently have 0 frags today, 0 this week and 0 this month.
also in db the frags are not add...
anyone knows how can i fix that...
try my first code..
function onUse(cid, item, frompos, item2, topos)
if isPlayer(topos.uid) then
doPlayerSendTextMessage(topos.uid, MESSAGE_INFO_DESCR, "Your frags have been removed.")
doRemoveItem(item.uid)
db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE...
if you are using a item that is targetable
function onUse(cid, item, frompos, item2, topos)
if isPlayer(topos.uid) then
doPlayerSendTextMessage(topos.uid, MESSAGE_INFO_DESCR, "Your frags have been removed.")
doRemoveItem(item.uid)
db.executeQuery("UPDATE `killers` SET...
well you are using a previous data file and changed the distro?
if you are, maybe you just changed it and forgot that it have a new lib, open the data file inside the trunk and copy the new lib into your server's, and also, if you added any function, copy it to a new lib...