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

Pomysłopomoc MIX

BugaS

Donżuan
Joined
Mar 12, 2009
Messages
1,219
Reaction score
9
Location
NYC
Z góry mowie ze place x)

Jest taka sytuacja.
Jest ring z sms shopa, ma tam ustawiony duration itp to nieistotne i jest npc w grze. Zeby doladowac ringa placi sie normalnie cc, ale doladowac moze jedynie ten co kupil tego ringa.

Da sie zrobic tak zeby sprawdzalo czy ten player kupil wlasnie tego ringa w sms shopie?
Jezeli nie to nie napelnial.
 
przerob skrypt z shopa, zeby do dawanego itemu tworzyl atrybut "owner" i ustawial go na getCreatureName(cid)

i u npca:
if getItemAttribute(item, "owner") == getCreatureName(cid) ?
 
Nie latwiej przerobic sms shop tak zeby dawal storaga?
I na tej podstawie?
No chyba ze postac zgubila pierscien.
 
up

no właśnie wiec to raczej nie, bo ktos moze zgubic.

#koob i vimoco

dzieki, rep++

#others

jeszcze inne pomysly jakies?
 
@Bugas
po co Ci inne pomysly ? To sa 3-4 linijki.
 
Szkoda. o gotowca prosic nie bede bo i tak nikt nie da x) <- rotfl.

Koob repa nie da sie Tobie dac sorry ;x
 
Back
Top