Im trying to make a Vip item script (Im new with this stuff),
I make it like this.
Ex: Player premmium account, with 100 days want to buy a wand vip.
Talkaction for wand vip (!buywandvip)
When you use the command, the player get the item on backpack but looses 36 days of premmium account.
after that, player will have only 64 days of premmium account.
TFS: 0.2x +
Wand Vip ID: 7429
In this script, player dont get the item, but he loose the premium acc days.
Why?
Can someone give me a help, if you know how to do this script.
I tried so hard.
But I still can't put it working.
:thumbup:
I make it like this.
Ex: Player premmium account, with 100 days want to buy a wand vip.
Talkaction for wand vip (!buywandvip)
When you use the command, the player get the item on backpack but looses 36 days of premmium account.
after that, player will have only 64 days of premmium account.
function onSay(cid, words, param)
if doPlayerRemovePremiumDays(cid, 36) == 1 then
doPlayerAddItem(cid, 7429,1)
else
doPlayerSendCancel(cid,"Sorry, but you don't have 36 premium days.")
end
end
TFS: 0.2x +
Wand Vip ID: 7429
In this script, player dont get the item, but he loose the premium acc days.
Why?
Can someone give me a help, if you know how to do this script.
I tried so hard.
But I still can't put it working.
:thumbup:
Last edited: