Ragnarok Developer
Please Login to able Download the File
Ragnarok Developer

Official Forums
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  
Your Ad Here

Share | 
 

 PvP Cash Point

Go down 
AuthorMessage
Reloaded
Admin


Posts : 2
Join date : 26/10/2012

PostSubject: 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
Back to top Go down
View user profile
 
PvP Cash Point
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Ragnarok Developer :: Scripts :: Scripts Release-
Jump to: