nevix
Tunzodus.net
Hello guys, will share easy script VIP reminder:
Tested: 0.3.7 (working)
Open creaturescripts/creaturescripts.xml and add this:
Then go: creaturescripts/scripts and create vipleft.lua
write inside:
11551 is storage ID, its mine VIP storage id. Other server can have different so you need change manual. Sorry for bad en.
This is my first created script ^^
Please +REP
Tested: 0.3.7 (working)
Open creaturescripts/creaturescripts.xml and add this:
Code:
<event type="login" name="Vipleft" event="script" value="vipleft.lua"/>
Then go: creaturescripts/scripts and create vipleft.lua
write inside:
Code:
function onLogin(cid)
if(getPlayerStorageValue(cid,11551) > 0) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Vip left: "..getPlayerStorageValue(cid,11551).." days.")
end
return true
end
11551 is storage ID, its mine VIP storage id. Other server can have different so you need change manual. Sorry for bad en.
This is my first created script ^^
Please +REP