Thank You, Do you know how to get vip effect? example when a player use an vip medal they get a popup text with VIP?
function sendVipEffect(cid, effect, delay)
doSendAnimatedText(getCreaturePosition(cid), "VIP", effect)
addEvent(sendVipEffect, delay, cid, effect)
end
onLogin.lua
if getPlayerStorageValue(cid, vipstorage) then
sendVipEffect(cid, effect, delay)
end
...
Yeah, how and where do i put it?, any noob tutorial?i think he means animated text that says 'VIP' on the character, but i could be wrong...
if thats the case you can use a recursive function onLogin with addEvent that sends the effect if the player is vip, something like
Code:function sendVipEffect(cid, effect, delay) doSendAnimatedText(getCreaturePosition(cid), "VIP", effect) addEvent(sendVipEffect, delay, cid, effect) end onLogin.lua if getPlayerStorageValue(cid, vipstorage) then sendVipEffect(cid, effect, delay) end ...