Reloaded Admin
Posts : 2 Join date : 26/10/2012
| Subject: PvP Cash Point Sun Oct 28, 2012 5:54 am | |
| - Code:
-
- script Sample -1,{ OnPCKillEvent: if ( strcharinfo(3) == "mapname" ){ set #CASHPOINTS,#CASHPOINTS+1; dispbottom "You have gained 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points."; } end;
OnPCDieEvent: if ( strcharinfo(3) == "mapname" ){ if ( #CASHPOINTS <= 0 ) end; set #CASHPOINTS,#CASHPOINTS-1; dispbottom "You have lose 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points."; } end; } change the "mapname" to your pvp room map ex . guild_vs1 | |
|