Hyoru Posted July 13, 2012 Posted July 13, 2012 Hi, i tryied to make myself, it works... well sometimes works and others times just stop work... i have no idea what is the problem... Here is the Script: - script deathmatch -1,{ OnPCDieEvent: getmapxy(.@mapa$,.@x,.@y,0); for ( set .@i,0; @i < getarraysize(.mapaspvp$); set .@i,.@i+1 ) { if ( .@mapa$ == .mapaspvp$[.@i] ) { dispbottom "You will respawn in 3 Seconds."; sleep2 3000; warp "pvp_y_2-2",0,0; atcommand "@alive"; atcommand "@heal"; end; } } end; OnInit: setarray .mapaspvp$[0],"pvp_y_2-2"; end; } Thanks Advanced, Hyoru. Quote
Mystery Posted July 13, 2012 Posted July 13, 2012 (edited) Nvm o_o... I need to sleep.. Edited July 13, 2012 by Mysterious Quote
EvilPuncker Posted July 13, 2012 Posted July 13, 2012 (edited) try this one, since you are using just one map, you don't really need an array. http://pastebin.com/raw.php?i=CkWTnxst also you don't need to @heal since @alive already gives full hp/sp to the character Edited July 13, 2012 by EvilPuncker Quote
Question
Hyoru
Hi, i tryied to make myself, it works... well sometimes works and others times just stop work... i have no idea what is the problem...
Here is the Script:
Thanks Advanced,
Hyoru.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.