• 01-04.05.2026 - DOUBLE EXP / SKILL EVENT!

Vip Doors

Status
Zamknięty.

Boosmen

Active User
Zarejestrowany
Dołączył
Listopad 20, 2010
Posty
72
Liczba reakcji
4
Nie wiem jak zrobi? Vip drzwi tylko dla vip mam Vip'a o to skrypt
-- Credits StreamSide and Empty
function onUse(cid, item, fromPosition, itemEx, toPosition)

if getPlayerStorageValue(cid,11551) < 1 then
if getPlayerLevel(cid) > 1 then
getPlayerStorageValue(cid, 11551)
doSendAnimatedText(getPlayerPosition(cid), "Welcome!", TEXTCOLOR_RED)
doCreatureSay(cid, "CONGRATULATIONS! Teraz jestes VIP'em!!!. ", TALKTYPE_ORANGE_1)
setPlayerStorageValue(cid, 11551, (getPlayerStorageValue(cid,11551) + 80000))
doRemoveItem(item.uid, 1)
else
doPlayerSendCancel(cid,"You need to be at least level 2 to use this.")
doRemoveItem(item.uid, 1)
end
else
doPlayerSendCancel(cid,"You are already a donator.")
end
return TRUE
end

Ale nie wiem jak zrobi? drzwi .
 
Ostatnio edytowane przez moderatora:
Status
Zamknięty.
Back
Do góry