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

Checking Item

Kedor

New Member
Joined
Mar 3, 2008
Messages
263
Reaction score
0
Location
Poland, Gdynia
how can i check if i got some item in bp..
for example you need to have itemID =xxx
in bp to be able to use teleport? :P




and any1 know if its possilbe.. if i will use vial with oil on lever/swich ..
it will be like i used it but i cant pull it without oil..
when i will use oil on it it will change id to +1
and it will remove wall on xxx,yyy,zz position? :P

Using latest Tags .. TFS :P
 
Use
Code:
if getPlayerItemCount(cid, itemid) >= 1 then 
doTeleportThing(cid, teleportpos)
 
got error wheni used your solution
attempt to index global 'getItem' (a nil value)




and what about second problem?

and any1 know if its possilbe.. if i will use vial with oil on lever/swich ..
it will be like i used it but i cant pull it without oil..
when i will use oil on it it will change id to +1
and it will remove wall on xxx,yyy,zz position? :P

and do you know whats the ID of Fire/Energy fields that dont dissapear?
i made lots of them but when my server is online like 15 mins.. fileds dissappear:D? :D
 
Last edited:
Back
Top