What's new
  • logo_cipsoft
    Latest servers:
    New servers will open on: 19th Feb 2025:
    Noctalia (Open PvP) Ignitera (Open PvP) us_logo Xybra (Open PvP)

Skrypty & Kody Pomocy tibia 7.6

Status
Not open for further replies.

Budowlan

Advanced User
Joined
Feb 10, 2011
Messages
286
Reaction score
0
Siemka nie wiem czy da?oby rade zrobi? skrypt kt?ry po poci?gnieciu dawa?by nam items od pewnego levela owy skrypt napisa?em i dzia?a tylko ?e nie wiem jak doda? mu level.
Pomy?la?em ?e mo?e by? taka linijka ale nie mia?em czasu przetestowa? bo to ju? 23.29 :p
arenalevel = 750000 lub playerlevel = 750000 czy playerslevel = 750000 poda?em przyk?ady bo dopiero zaczynam pisa? skrypty i staram sam robi? z poradnikami ale troche mi nie wychodzi . Z G?ry dzi?kuje i jako? moge si? odzwi?czy? (tutor lub s tutor na ots'sie ;P)
M?j skrypt

[LUA]function onUse(cid, item, frompos, item2, topos)

if item.uid == 2529 then
queststatus = getPlayerStorageValue(cid,5010)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Znalazles Black Shield")
doPlayerAddItem(cid,2529,1)
setPlayerStorageValue(cid,5010,1)
else
doPlayerSendTextMessage(cid,22,"To jest puste.")[/LUA]
 

Matt

Banned
Joined
May 9, 2013
Messages
595
Reaction score
45
Odp: Pomocy tibia 7.6

Nie wiem czy o to Ci chodzi?o, aczkolwiek zobacz.

[lua]function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= 350 then

if item.uid == 2529 then
queststatus = getPlayerStorageValue(cid,5010)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Znalazles Black Shield")
doPlayerAddItem(cid,2529,1)
setPlayerStorageValue(cid,5010,1)
else
doPlayerSendTextMessage(cid,22,"To jest puste.")
end

else
return 0
end
else
doPlayerSendTextMessage(cid, 22, "Masz zbyt niski lvl, aby wziac ten item. Wroc gdy zdobedziesz 350!")
end
return 1
end[/lua]
 

Budowlan

Advanced User
Joined
Feb 10, 2011
Messages
286
Reaction score
0
Odp: Pomocy tibia 7.6

oto mi chodzi?o ale pyta?em sie czy da?oby rade zrobi? to z moim skryptem xd
 

Matt

Banned
Joined
May 9, 2013
Messages
595
Reaction score
45
Odp: Pomocy tibia 7.6

A nie widzisz, ?e zrobi?em to w?a?nie z Twoim skryptem?
 
Status
Not open for further replies.
Top