viewing paste Kill Players gain CashPoint | Athena

Posted on the | Last edited on
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
-       script  Sample  -1,{
OnInit:
set .Delay,300;
setarray .Map$,"prontera","payon","izlude";
 
OnPCKillEvent:
if( @Delay >= gettimetick(2) && @LastKilled != killedrid && killedrid != getcharid(3) ){
for( set .@i,0; .@i < getarraysize( .Map$ ); set .@i,.@i + 1 )
        if( strcharinfo(3) == .Map$[.@i] ){
                set @LastKilled,killedrid;
                set #CASHPOINTS,#CASHPOINTS + 1;
                dispbottom "Gain 1 Cash Points.";
                set @Delay,gettimetick(2) + .Delay;
        }
}
}
Viewed 558 times, submitted by Emistry.