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

Runa PACC. Pomoc

Bloumer

New Member
Joined
Dec 12, 2008
Messages
198
Reaction score
0
Siema. Moglby ktos poprawic ten skrypt zeby dzialal pod Mystic Spirit v0.2 , jak zrobic aby bylo widoczne dla kazdego gracza to zdanie po uzyciu runy no i co to jest: doPlayerSendTextMessage(cid,22,"otrzymales 10 dni pacc") --- "22" ?

Code:
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2275 then
local playerpos = getCreaturePosition(cid)
doRemoveItem(item.uid,2275)
doPlayeraddPremiumDays(cid, 10)
doSendMagicEffect(playerpos, 12)
doPlayerSendTextMessage(cid,22,"otrzymales 10 dni pacc")
end
end
 
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if(isPlayer(itemEx.uid) == TRUE) then
doPlayerAddPremiumDays(itemEx.uid, 10)
doSendMagicEffect(getCreaturePosition(itemEx.uid), CONST_ME_MAGIC_RED)
doPlayerSendTextMessage(itemEx.uid, MESSAGE_EVENT_ADVANCE, "Otrzymałeś 10 dni premium!")
doRemoveItem(item.uid, 1)
end
end
 
lol nie dawajcie mu już rep... ileż można tego mieć xdd

<zmianaTematu><PLS><hihi>Rep for me za to że ci pomógł plx</hihi></PLS></zmianaTematu>
 
Back
Top