Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ________________ ______ ________
- ___ |_____ /________ /______ ___ __ \_____
- __ /| | __ /_ __ \_ __ \ _ \ __ /_/ / __ \
- _ ___ / /_/ / / /_/ / /_/ / __/ _ _, _// /_/ /
- /_/ |_\__,_/ \____//_.___/\___/ /_/ |_| \____/
- */
- /*
- - script PVP Cash Points -1,{
- OnInit:
- set .Delay,1; // Delay, in seconds
- end;
- OnPCDieEvent:
- if( @Delay < gettimetick(2) ){
- set .@Amount,rand(1,5);
- set #CASHPOINTS,#CASHPOINTS + .@Amount;
- dispbottom "You lost "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points.";
- if( .Delay ) set @Delay,gettimetick(2) + .Delay;
- }
- end;
- }
- */
- - script PVPPoint -1,{
- OnPCDieEvent:
- if (killerrid == getcharid(3))
- end;
- if (getmapflag(strcharinfo(3),mf_pvp) || getmapflag(strcharinfo(3),mf_gvg)) {
- set .@Amount,rand(1,5);
- set #CASHPOINTS,#CASHPOINTS - .@Amount;
- dispbottom "You lost -"+.@Amount+" Cash Points. Total Accumulated Cash Points = "+#CASHPOINTS+" Points.";
- specialeffect2 EF_SKIDTRAP;
- }
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement