• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Item Do lvl

Status
Not open for further replies.

Hopto

New Member
Joined
Apr 13, 2010
Messages
10
Reaction score
0
Witam potrzebuje to coś żeby dało się to używać DO 250 lvla.
Pomoże ktoś? z góry dziękuje oczywiście rep:peace:

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

if getPlayerStorageValue(cid,2674) == 666666 then
doPlayerSendTextMessage(cid,22,"Sorry You Cant use this item again.")	


elseif getPlayerStorageValue(cid,2674) == 1 then
doRemoveItem(item.uid, 1)
doSendMagicEffect(topos,14)
doPlayerSay(cid," 300 experiance Up",1)
doPlayerAddExp(cid, 300)
setPlayerStorageValue(cid,6660,2)


else
doRemoveItem(item.uid, 1)
doSendMagicEffect(topos,14)
doPlayerSay(cid," 7700 experiance Up",1)
doPlayerAddExp(cid, 7700)
setPlayerStorageValue(cid,2674,1)
end
end
 
??
chce to dodać na swuj noobwar bo jest już na takim a ja sobie robie podobny
 
Code:
if(getPlayerLevel(cid) > 250) then return true end
 
Tak z ciekawości zapytam
LUA:
if(getPlayerLevel(cid) < 250) then
...
elseif
return true
end
Tak też by mogło być?; d
 
Status
Not open for further replies.
Back
Top