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

Lua quest in ground

tim26

Member
Joined
Aug 12, 2008
Messages
618
Reaction score
11
Location
Poland
i have that script

Code:
function onUse(cid, item, frompos, item2, topos)

	if item.uid == 12645 and getPlayerStorageValue(cid, 12645) == -1 then
    doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"You have found a golden key.")
	  key = doPlayerAddItem(cid, 2091, 1)
      doSetItemActionId(key,3980)
	  setPlayerStorageValue(cid, 12645,1)
    else
     doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR,"It is empty.")
	 end
  return 1
end

this script work in chests box etc but when i put it to get reward with ground or small hole nothing;/

who know how fix it;/
 
help please and i have next question how in tfst crying damson made player name in npc i try |PLAYERNAME| and |NAME| and don't work
 
Back
Top