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
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]
Pomy?la?em ?e mo?e by? taka linijka ale nie mia?em czasu przetestowa? bo to ju? 23.29
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]