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!
Edit, now is returning only numbers on table.
I need to return the name of player:
Look:
"SELECT * FROM `player_storage` WHERE `player_storage`.`key` = 971714014 ORDER BY `player_storage`.`value` DESC LIMIT 0, 10";
echo "<tr><td>".$row["player_id"]."</td><td> ".$row["value"]."</td></tr>";
local t = {
tmp = {
{x = 376, y = 461, z = 7}, -- quina à noroeste (acima e à esquerda) da area onde os players devem estar para ingressar no evento
{x = 392, y = 475, z = 7} -- quina à Sudeste (abaixo e à direita)
},
arena = {
{x =...
function onDeath(cid, corpse, deathList)
local drop, nDrop = doCreatureSetDropLoot(cid, true), doCreatureSetDropLoot(cid, false)
if getPlayerLevel(cid) <= 50 then
for _, list in pairs (deathList) do
if isMonster(list) then
nDrop
end...
How to get the killer?
Look the script:
function onDeath(cid, corpse, deathList)
local drop, nDrop = doCreatureSetDropLoot(cid, true), doCreatureSetDropLoot(cid, false)
local killer = ?????????
if getPlayerLevel(cid) <= 50 then
if isMonster(killer) == true then...
Need a simple example to create monsters in certain area, like this:
local config = {
monster = "Rat",
ammout = 5,
topL = {x=100, y=100, z=7},
botR = {x=200, y=200, z=7}
}