• 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!

monument - pomnik help

Velory

New Member
Joined
Jul 7, 2011
Messages
44
Reaction score
0
ENG

Hi I am looking for a script on the monuments which sticks the largest level, ax, sword, and it is placed on the monument in the temple and refreshed every 15 sec.


PL


Witam szukam skrypta na pomniki czyli wbijasz najwiekszy lvl , axe, sword i zostaje to umieszczone na pomniku w temple i odswiezane co 15 sec.
 
Sth like that:

Lua:
function onLook(cid, thing, position, lookDistance)
	query = db.getResult("SELECT * FROM `player_skills`  WHERE `skillid` = 1 ORDER BY `value`")
	return doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You see a monument with a plate: 'It's a statue of " .. getPlayerNameByGUID(query:getDataString("player_id")) .. " the mightiest sword master.'")
end
 
Last edited:
Back
Top