make a trigger use by right clicking in radient on the 2d view, then go to trigger then trigger use. place it where you want and while its selected press N to bring up the KVPs in the top text box at the bottom insert
Code Snippet
Plaintext
targetname
and in the bottom place
Code Snippet
Plaintext
bank_withdraw
press enter and it should appear with the other KVPs this is where you can withdraw points
copy this by pressing space and give this one
Code Snippet
Plaintext
bank_deposit
instead of
Code Snippet
Plaintext
bank_withdraw
this is where you need to go to deposit your points
part 2
now you will need to go to waw root/raw/maps and find your MAPNAME.gsc and open it up
Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
MZslayer11's Contact & Social LinksMZslayer11Service_Code_30#2655
A side note, the game first checked if player has 100 points or more, then takes it and gives back 1000.
Code Snippet
Plaintext
{ user maps\_zombiemode_score::add_to_player_score( 1000 );
user playlocalsound("cha_ching");
wait 0.2;
user maps\_zombiemode_score::add_to_player_score( -100 );
that shouldn't happen since the code first gives the points then takes 100 .2 seconds later. also i noticed i used the wrong thing for taking points xD
{ user maps\_zombiemode_score::add_to_player_score( 1000 );
user playlocalsound("cha_ching");
wait 0.2;
user maps\_zombiemode_score::add_to_player_score( -100 );
that shouldn't happen since the code first gives the points then takes 100 .2 seconds later. also i noticed i used the wrong thing for taking points xD
yeah but he means u need to have 100 points before u can withdrawl 1000.
Code Snippet
Plaintext
if( is_player_valid(user) && user.stored_points >0 && user.score >= 100 ) { user maps\_zombiemode_score::minus_to_player_score( 100 ); wait 0.1; user maps\_zombiemode_score::add_to_player_score( 1000 ); user playlocalsound("cha_ching"); user.stored_points -=1; user SetStat(3005,user.stored_points); } }
Last Edit: December 12, 2015, 02:00:44 pm by alaurenc9
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
well when it comes to black ops 2 i usually hang on origins and MOTD which dont have the bank and weapon locker, but thankfully the community is nice enough to correct my many mistakes