Hi Capuche, thx for help. i do some changes here all new event prize part:
Premio_Auto_Event:
switch( $eventocheck ) {
case 1: //--------> Evento_Um
case 2: //--------> Evento_Dois
case 3: //--------> Evento_Tres
set(.player,getcharid(3));
deletearray(.players[0],128); addrid(0);
set(.players[getarraysize(.players)],getcharid(3));
detachrid; attachrid(.player);
if (strcharinfo(3) == $mapabombporing$ ) {
announce "Parabéns"+ strcharinfo(0) +", Você ganhou o evento!!! :D",3, 0x_FFFF00;
sleep2 2000;
getitem $premioevento, $qntpremioevento;
announce "Já recebeu seu prêmio agora TCHAU! :P",3;
sleep2 3000;
warp "prontera",150,150;
goto OnInit;
}
case 4: //--------> Evento_Quatro
}
the error still the same on server.
Here a screenshot of NPC Script Editor (i don't know if i can post a large image, if i can't sorry. ):
@Edit: I have finished add bomb poring to my script but i'm having the same problem without this code. here is my full script atm: http://pastebin.com/r3jScRcu
Thx Sir!