Actions Super Promocja - Item

DenZ

Zasłużony
Przyjaciel forum
Dołączył
Luty 23, 2011
Posty
873
Liczba reakcji
31
Wiek
30
Oddaje w wasze r?czki do?? prosty skrypt na super promocje.

Kod:
function onUse(cid, item, fromPosition, itemEx, toPosition)
   if getPlayerPromotionLevel(cid) == 1 then
       doPlayerSetPromotionLevel(cid, 2)
       doSendMagicEffect(toPosition, CONST_ME_MAGIC_RED)
       doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Now you are Super"..getPlayerVocationName(cid)..".");
       doRemoveItem(item.uid, 1)
   else
       doPlayerSendCancel(cid,"You need to be promoted in order to use this item.")
   end
end
 
Odp: Super Promocja - Item

Na pewno mi si? kiedy? przyda jak zn?w si? zaczn? bawi? w Otsy ^^
 
Odp: Super Promocja - Item

Klimaty Rox?w :x
 
Back
Do góry