VladimirCastro Posted September 4, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted September 4, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Tuesday at 05:38 PM Share 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 Link to comment Share on other sites More sharing options...
VladimirCastro Posted September 4, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Author Share Posted September 4, 2012 where should i put that Quote Link to comment Share on other sites More sharing options...
Emistry Posted September 4, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10017 Reputation: 2369 Joined: 10/28/11 Last Seen: Tuesday at 05:38 PM Share Posted September 4, 2012 just modify your current script....what doesnt exist in your script but i show you..then you add it.... Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted September 4, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
EvilPuncker Posted September 4, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted September 4, 2012 strcharinfo(3) not (0) Quote Link to comment Share on other sites More sharing options...
Mystery Posted September 4, 2012 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share 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 Link to comment Share on other sites More sharing options...
EvilPuncker Posted September 4, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted September 4, 2012 http://pastebin.com/raw.php?i=SGF12Fky Quote Link to comment Share on other sites More sharing options...
VladimirCastro Posted September 4, 2012 Group: Members Topic Count: 114 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 03/13/12 Last Seen: September 18, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Question
VladimirCastro
how can i make it for 1 map only?
Edited by tenzieLink to comment
Share on other sites
8 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.