pxxpw123
-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by pxxpw123
-
-
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/r3jScRcuThx Sir!
-
Hi guys, first sorry for my bad english i'll try explain with most clean way i can.
Well i'm having trouble with players attach what i need is give some item to all players in the map.
Here what i get after some search:
set(.player,getcharid(3)); deletearray(.players[0],128); addrid(0); set(.players[getarraysize(.players)],getcharid(3)); detachrid; attachrid(.player); if (.player == $mapabombporing$ ) { announce "Parabéns"+ strcharinfo(0) +", Você ganhou o evento!!! :D",3, 0x_FFFF00; sleep2 2000; getitem(512,1,set(.@a,.players[rand(getarraysize(.players))])); announce "Já recebeu seu prêmio agora TCHAU! :P",3; sleep2 3000; warp "prontera",150,150; goto OnInit; }
Here is my error:
OnInit i have:
set $mapabombporing$, "prontera";
_________________________________________________________________________________
This npc is my new game center and live in prontera thats why i use, this part of script will give some prize to all winners of Bomb poring event.if i need give more information please ask
thx guys! -
Hi guys noob question comming
well guys i need to do something like that:
default: if((countitem(511)>0){ make_per += 9000+i*500; delitem 511,1; } make_per += 1000+i*500; break;
of course that don't work
i want to now how can i declare countitem and delitem on src.please don't be rude one day u was like me
thx for any help and sorry about my bad english.
-
Nice work ! thats addon amazing...
I want to now how can i show only title of topics ? i use ipb rssThx
Request Function duplicate script
in Script Requests
Posted · Edited by pxxpw123
Hi guys!
I want request for u, an fuction who randomly duplicate the npc 30x on variable map, someone can do that, or tell me where can i found something like that?
THX