VladimirCastro Posted September 4, 2012 Posted September 4, 2012 (edited) - script Sample -1,{OnInit: set .Delay,180; end; OnPCKillEvent: if( @Delay < gettimetick(2) ){ set .@Amount,rand(1,4); set #CASHPOINTS,#CASHPOINTS + .@Amount; dispbottom "Gained "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points."; if( .Delay ) set @Delay,gettimetick(2) + .Delay; } end; } how can i make it for 1 map only? Edited September 4, 2012 by tenzie Quote
Emistry Posted September 4, 2012 Posted September 4, 2012 Please review your post everytime you post.... i cant read what's ur script.... when i was thinking to help you remove those color tag... i saw....every words also got it own color tag...so..i..cancelled.. and ask you to repost the content . anyway.... OnPCKillEvent: if( strcharinfo(0) == "mapname" ){ ................... ................... } end; Quote
VladimirCastro Posted September 4, 2012 Author Posted September 4, 2012 where should i put that Quote
Emistry Posted September 4, 2012 Posted September 4, 2012 just modify your current script....what doesnt exist in your script but i show you..then you add it.... Quote
VladimirCastro Posted September 4, 2012 Author Posted September 4, 2012 can you pls put it on notepad. because when i try to save it it ust in one line and i dont know how to arrange it its not working Quote
Mystery Posted September 4, 2012 Posted September 4, 2012 What emistry said is easy.. to do: - script Sample -1,{ OnInit: set .Delay,180; end; OnPCKillEvent: if( strcharinfo(3) == "mapname" ) { if( @Delay < gettimetick(2) ) { set .@Amount,rand(1,4); set #CASHPOINTS,#CASHPOINTS + .@Amount; dispbottom "Gained "+.@Amount+" Cash Point. Total = "+#CASHPOINTS+" Cash Points."; if( .Delay ) set @Delay,gettimetick(2) + .Delay; } } end; } Quote
EvilPuncker Posted September 4, 2012 Posted September 4, 2012 http://pastebin.com/raw.php?i=SGF12Fky Quote
VladimirCastro Posted September 4, 2012 Author Posted September 4, 2012 yes its working now. but it doesnt show that im getting ccash point. but when i go to npc it show that i have points Quote
Question
VladimirCastro
how can i make it for 1 map only?
Edited by tenzie8 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.