Hyoru Posted July 13, 2012 Group: Members Topic Count: 45 Topics Per Day: 0.01 Content Count: 122 Reputation: 11 Joined: 01/30/12 Last Seen: 2 hours ago Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted July 13, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted July 13, 2012 (edited) Nvm o_o... I need to sleep.. Edited July 13, 2012 by Mysterious Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted July 13, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.