Phantom Of Rogue-Gon Posted August 12, 2013 Posted August 12, 2013 (edited) hello iwant to request a script example when the player kill the poring or another mobs the get cashpoint specific map Edited August 12, 2013 by Phantom Of Rogue-Gon Quote
Patskie Posted August 12, 2013 Posted August 12, 2013 Try this one : - script Sample -1,{ OnNPCKillEvent: if ( strcharinfo(3) == "prontera" ) { if ( killedrid == 1002 ) #CASHPOINTS += 5; dispbottom "You now have " +#CASHPOINTS+ " cash points"; } end; } If you want to add map and mob then the script looks like this : - script Sample -1,{ OnNPCKillEvent: // Add " || strcharinfo(3) == <another map name> " if ( strcharinfo(3) == "prontera" || strcharinfo(3) == "payon" ) { // Add " || killedrid == <mob id> " if ( killedrid == 1002 || killedrid == 1113 ) #CASHPOINTS += 5; dispbottom "You now have " +#CASHPOINTS+ " cash points"; } end; } Note that this script add 5 cash points on the player account each time the player kill a certain mob Quote
BugMeNot Posted August 12, 2013 Posted August 12, 2013 (edited) · Hidden by Capuche, August 13, 2013 - Yes but no.. Hidden by Capuche, August 13, 2013 - Yes but no.. Internet connection's acting up. Sorry about that double post. Edited August 12, 2013 by IceTea
Question
Phantom Of Rogue-Gon
hello iwant to request a script
example
when the player kill the poring or another mobs the get cashpoint
specific map
Edited by Phantom Of Rogue-Gon
2 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.