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

Recent content by Sklm01

  1. S

    Lua GetPlayerSex(cid) problem.

    Yay! it works :p thanks man, but the problem is that if i add the code there, every NPC will say exactly the same, no matter if i "npcHandler:setMessage" to them.
  2. S

    Lua GetPlayerSex(cid) problem.

    neither :(.. when i try this the NPC dosn't says lord or lady just the default answer "Greeting, |PLAYERNAME|" i think the main problem is the function itself, i mean i think getPlayerSex(cid) is getting "FALSE" from somewhere every time.... instead of 1 or 0..
  3. S

    Lua GetPlayerSex(cid) problem.

    tryed and dosn't works :S
  4. S

    Lua GetPlayerSex(cid) problem.

    :( i really don't get it ... look: 1) if -> local Playersex = getPlayerSex(cid) if Playersex = 0 then i get this warning: [20/04/2012 15:20:32] [Warning - NpcScript::NpcScript] Can not load script: data/npc/scripts/tools.lua [20/04/2012 15:20:32] data/npc/scripts/tools.lua:14: 'then'...
  5. S

    Lua GetPlayerSex(cid) problem.

    i meant... ... local PlayerSex = getPlayerSex(cid) if getPlayerSex == 1 then npcHandler:setMessage(MESSAGE_GREET, "Greetings! |PLAYERNAME|, What can i do for you, my Lady?") --if player greets else npcHandler:setMessage(MESSAGE_GREET, "Greetings! |PLAYERNAME|, What can i do for...
  6. S

    Lua GetPlayerSex(cid) problem.

    if getPlayerSex(cid) == 0 then -- tryed (0,1,-1) and still dosn't work
  7. S

    Lua GetPlayerSex(cid) problem.

    Still dosn't work ... and the function (getPlaterSex(cid)) is returning "false" not sure why...:(
  8. S

    Lua GetPlayerSex(cid) problem.

    Hi guys, well this is my problem: I'm trying to do something really simple: If a girl says "hi" to an NPC it will respond "Hi Lady" however if it's a boy the NPC will say "Hi Lord" but it isn't working for girls (says "Hi Lord" every time) :s someone know why? and if someone could tell me...
  9. S

    NPC Ultimate Armor and Weapon Shopkeepers

    There are some mistakes on items ID's/Names: brass legs,2487,195 -> change to -> brass legs,2478,195 rochhill sword,2395,473 ->-> carlin sowrd,2395,473; <!--(unless u got a sword called rochhill)--> osbrooken sword,7391,16000 ->-> thaian sword,7391,16000;<!--(unless u got a sword called...
  10. S

    [NPC] Light/Dark Blue Replies

    YAY! thanks it works!!. Now i have to figure out how to personalize the responses to each npc, i'll appreciate any suggestions :D EDIT: NVM... Summ already responded with the previous post (Thanks.)
  11. S

    [NPC] Light/Dark Blue Replies

    hi guys, i'm trying to make my NPCS responses in dark blue, something like: NPC: Greeting, |Playername|, i can promote you!. but i have not been able to do it, I know there is a line i can edit:: -- These are the default replies of all npcs. They can/should be changed individually for...
Back
Top