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

[8.4] The Forgotten Server v0.3 beta 2

Status
Not open for further replies.
How do i check if a player wear a Weapon? like I mean how do I know if a player wear a wand? is there a function to check please help
 
22:01 Beta03 [1]: !deathlist Beta02
18 January 2009 22:00 Died at level 647 by Beta03.
22:05 Beta03 [1]: lag :S
 
How do i check if a player wear a Weapon? like I mean how do I know if a player wear a wand? is there a function to check please help

Code:
        getPlayerSlotItem(cid, slot)
            Info
                This function will check what item player have actually in slot.
                    Skillid can be:
                        1 = helmet
                        2 = necklace slot (amulet of loss etc.)
                        3 = backpack, bag
                        4 = armor
                        5 = left hand (its really hand placed >> (right page on screen))
                        6 = right hand (its really hand placed << (left page on screen))
                        7 = legs
                        8 = boots
                        9 = ring slot
                        10 = ammo slot (arrows etc.)
 
erp0t, you should update Release Dates!!! thread at TFS Project Forum.

"NO NEW VERSION OF THE FORGOTTEN SERVER RELEASED IN RIGHT TIME MAKES 98% OF THIS FORUM USERS GO CRAZY!!!"
 
I got this message when i open the server :S "****" i wrote that because i get many and diffrent npc :S

[18/01/2009 02:11:56] luaGetItemName(). Item not found

[18/01/2009 02:11:56] Lua Script Error: [Npc interface]
[18/01/2009 02:11:56] data/npc/scripts/****.lua

Please help


i dont find it in the lua files :S please help me! :(
 
check in items.xml if u got <attribute key="levelDoor" value="1000"/> each in gate of expertise
 
-.- -.-
PLEASE GUYS STOP SIT HERE MASTURBATING!!!!! GO WATCH PORN OR SOMETHING

Btw: ep0t said it was delayed 1 day stop spamming
 
How do i check if a player wear a Weapon? like I mean how do I know if a player wear a wand? is there a function to check please help

For Weapon, Magic Sword in this example;
PHP:
local lefthand = getPlayerSlotItem(cid,5) --(its really hand placed >> (right page on screen))
local righthand = getPlayerSlotItem(cid,6) --(its really hand placed << (left page on screen))

function onUse(cid, item, fromPosition, itemEx, toPosition)
if lefthand.itemid == 2400 or righthand.itemid == 2400 then
--(your script here)
end
return true
end
 
[OFFTPOIC] Why is my signature pic scaled incorrectly lol. It said, max size of pic is 500x200, this one is smaller yet it doesn't display correctly :S [/OFFTPOIC]
 
Ehm my exp stage dosent work :S and i have put yes in the
experienceStages = "yes"
 
Status
Not open for further replies.
Back
Top