A Question with a NPC

Enemy

New member
Messages
12
Points
0
Just don't know why vip player ( lvl 1 player ) can't enter on the room.

prontera,154,187,5 script VIP#oV1-1::OpçãoV 885,{cutin "mocseal_rin01",2;if (getgmlevel()<1) goto L_nvip;if (getgmlevel()>1) goto L_Vip;L_nvip:mes "[^1E90FF Teleportador VIP ^000000]";mes "Desculpe, mas você não é VIP.";mes "Torne-se Poderoso Acesse o site e compre já Seu VIP.";close2;cutin "",255;end;L_Vip:mes "[^1E90FF Teleportador VIP ^000000]";mes "Olá ^1E90FF"+strcharinfo(0)+"^000000.";mes "Deseja ir para a sala VIP?";next;menu "Ir Para Sala VIP",L_Sala;mes "[^1E90FF VIP ^000000]";mes "Volte quando quiser algo.";close;L_Sala: warp "sec_in02", 161, 162; end;}
any solution?
 
Last edited by a moderator:
If they are exactly level 1 players, why are you checking whether they are less than or more than level 1? You are in a void if a player is exactly at level 1.

Your level 1 or greater operator should be this one: '>=', not '>'.

 
your problem

if (getgmlevel()<1) goto L_nvip;if (getgmlevel()>1) goto L_Vip;
you never checked for level equal to 1...

 
Back
Top