Ragnarok Developer
Please Login to able Download the File
Ragnarok Developer
Please Login to able Download the File
Ragnarok Developer

Official Forums
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  
Your Ad Here

 

 PvP Cash Point

Go down 
AuthorMessage
Reloaded
Admin



Posts : 2
Join date : 26/10/2012

PvP Cash Point Empty
PostSubject: PvP Cash Point   PvP Cash Point EmptySun 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
 
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: