• 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!

System Vip ends (vip_time) (script)

GODGollox

New Member
Joined
Apr 9, 2019
Messages
22
Reaction score
0
I need script that when vip_time ends player get teleported to home Town AND lose promotion vip (OTX 8.60)

SOME ANSWER! ??
 
Is it solved? or you marked it as solved by mistake?
If not solved post your VIP script, Home town ID and Promotion ids (vocations.xml)
 
Is it solved? or you marked it as solved by mistake?
If not solved post your VIP script, Home town ID and Promotion ids (vocations.xml)

Lua:
function onStepIn(cid, item, pos)



-- teleports config
teleport1 ={x=160, y=51, z=7}



if isPlayer(cid) then

if item.actionid == 13540 then

vip = getPlayerStorageValue(cid,13540)
if vip == -1 then
doPlayerSendCancel(cid,"Esta área é exclusiva para players Vips.Para Adquirir vip compre por 5kk !buyvip")


doTeleportThing(cid,teleport1)


else

end

end

end

end
Post automatically merged:

vocations.xml Id (5,6,7,8)
 
Home town id? And those promotion ids are the normal ones ED/MS etc.. doesn't seem to be custom VIP promotions.
 
1- The id of Promotion Son (5,6,7,8) are the same for Normal vocations..
2- ¿Hometown ID? I don't understand explain better
 
Number of town where player will get teleported when VIP time ends you can get it using map editor then click Map -> Edit towns and check for number.
If you can't get it then write X Y Z where player should get teleported when VIP time ends.
and also post the VIP town start and end X Y Z begin from North West to South East like this
MaxNorthwest = {x=xxx, y=xxx, z=xxx}
MaxSouthEast = {x=xxx, y=xxx, z=xxx}
 
Last edited:
Back
Top