Xeikh
詠春 ☯
- Joined
- Oct 23, 2009
- Messages
- 724
- Reaction score
- 17
LUA:
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) == true then
if getPlayerVipDays(cid) == 0 then
doTeleportThing(cid, fromPosition, FALSE)
doSendMagicEffect(getPlayerPosition(cid), 3)
doCreatureSay(cid, "VIP Only. Get your VIP at Website Donation Rewards!", TALKTYPE_ORANGE_2)
return
end
doCreatureSay(cid, "Welcome VIP Player!", TALKTYPE_ORANGE_2)
doSendMagicEffect(getPlayerPosition(cid), 12)
return true
end
end
Hi, im using a tile script for the vip players
but i want to change this:
LUA:
doCreatureSay(cid, "Welcome VIP Player!", TALKTYPE_ORANGE_2)
But instead of say "welcome vip player!" it say "Welcome PLAYERNAME" for sample: "Welcome Xeikh".. like the function of npc's |PLAYERNAME|... i did try that but dont works... can please someone help me?:$
Last edited: