cloud167 Posted August 19, 2012 Posted August 19, 2012 map is prontera, and all pvp and gvg maps player 1 killed player 2 player 1 will gain random cash point from 1-4 player 1 will see in dispbottom how much cashpoint he gained from killing player 2 and will also display how much cashpoint he got overall player 1 will have a 3minute cooldown before he can gain cashpoints when killing player 2 again player 1 will have a dispbottom that says the remaining time to gain cashpoints from killing player 2 thank you Quote
Emistry Posted August 22, 2012 Posted August 22, 2012 try this - script Sample -1,{ OnInit: set .Delay,180; end; OnPCKillEvent: if( @Delay < gettimetick(2) ){ set .@Amount,rand(1,4); set #CASHPOINTS,#CASHPOINTS + .@Amount; dispbottom "Gained "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points."; if( .Delay ) set @Delay,gettimetick(2) + .Delay; } end; } Quote
Emistry Posted August 28, 2012 Posted August 28, 2012 yes ..it should...as long as 3Ceam using the same variable... beside...whether it work or not...just copy the script and run it in your server then you will know it work or not.... Quote
c0d3z Posted August 29, 2012 Posted August 29, 2012 i mean not working on 3Ceam... or got other way to activate it? Quote
Euphy Posted August 29, 2012 Posted August 29, 2012 dint work...-.- > http://rathena.org/b...-easy-as-1-2-3/ 3) Explain What is Wrong! Quote
Krenjeroth Posted December 6, 2013 Posted December 6, 2013 try this - script Sample -1,{ OnInit: set .Delay,180; end; OnPCKillEvent: if( @Delay < gettimetick(2) ){ set .@Amount,rand(1,4); set #CASHPOINTS,#CASHPOINTS + .@Amount; dispbottom "Gained "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points."; if( .Delay ) set @Delay,gettimetick(2) + .Delay; } end; } the map server says: so how should this be fixed? Quote
Yonko Posted August 17, 2014 Posted August 17, 2014 try this - script Sample -1,{ OnInit: set .Delay,180; end; OnPCKillEvent: if( @Delay < gettimetick(2) ){ set .@Amount,rand(1,4); set #CASHPOINTS,#CASHPOINTS + .@Amount; dispbottom "Gained "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points."; if( .Delay ) set @Delay,gettimetick(2) + .Delay; } end; } Hi Emistry thanks for this how will i trigger this on designated map only (example on prt_fild01) thank you! Quote
Question
cloud167
map is prontera, and all pvp and gvg maps
player 1 killed player 2
player 1 will gain random cash point from 1-4
player 1 will see in dispbottom how much cashpoint he gained from killing player 2 and will also display how much cashpoint he got overall
player 1 will have a 3minute cooldown before he can gain cashpoints when killing player 2 again
player 1 will have a dispbottom that says the remaining time to gain cashpoints from killing player 2
thank you
12 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.