• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

text on pos

Code:
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "MESSAGE.")
Or
Code:
doPlayerPopupFYI(cid, message)
 
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
...
 
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
...
Yeah, how and where do i put it?, any noob tutorial?
 
Back
Top