Petey Pablo Posted October 17, 2012 Posted October 17, 2012 how to change this from cashpoint to a custom points? Im using eA. Thank you! - script PvP Points -1,{ OnPCKillEvent: if ( strcharinfo(3) == "5@tower" ){ set #CASHPOINTS,#CASHPOINTS+1; dispbottom "You have gained 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points."; } end; OnPCDieEvent: if ( strcharinfo(3) == "5@tower" ){ if ( #CASHPOINTS <= 0 ) end; set #CASHPOINTS,#CASHPOINTS-1; dispbottom "You have lose 1 Cash Point. Total is "+#CASHPOINTS+" Cash Points."; } end; } Quote
Thanna Posted October 17, 2012 Posted October 17, 2012 (edited) - script PvP Points -1,{ OnPCKillEvent: if ( strcharinfo(3) == "5@tower" ){ getitem ItemID,quantity; //put the item that the player will receive if they kill a player } end; OnPCDieEvent: if ( strcharinfo(3) == "5@tower" ){ delitem ItemID,quantity //put the item that will be deleted on the player's inventory when killed } end; if I misunderstood what you want you can explain it then I'll try to do it Edited October 17, 2012 by Thanna Quote
Emistry Posted October 17, 2012 Posted October 17, 2012 how to change this from cashpoint to a custom points? Im using eA. Thank you! change #CASHPOINTS to any custom variable that you are using.. For Example.. #CustomPoints Quote
Question
Petey Pablo
how to change this from cashpoint to a custom points? Im using eA. Thank you!
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.