Do a check on their score, then if they have enough points remove the points from them, so check if their score is greater than or equal to x, if it is, take away x from their score.
I'm in school so I don't now the exact functions, check the _zombiemode_score iirc, function should be in there.
i can give you some premade zombie_costs that i've added myself. First go into _zombiemode.gsc go to line 414 If you don't find it search this // Debris
i can give you some premade zombie_costs that i've added myself. First go into _zombiemode.gsc go to line 414 If you don't find it search this // Debris
Wouldn't that work since a localized string doesn't exist so it would probably show nothing, so you'd need to remove the & and actually enter the string or enter it into the .str file?
Also I don't think he's talking about doors since he said "things".
Wouldn't that work since a localized string doesn't exist so it would probably show nothing, so you'd need to remove the & and actually enter the string or enter it into the .str file?
Also I don't think he's talking about doors since he said "things".
Then he needs to make his own thingys Custom strings, like // Pickup or whaterver else its scripted
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
trigger_function() { cost = 1000; // Amount self setHintstring( "Press and hold &&1 to buy trigger [Cost:" + cost + "]" ); // Setting your hintstring while( 1 ) { self waittill( "trigger", player ); // Wait till the trigger is used and get who uses it if ( player.score < cost ) // Check if they have enough points { wait .1; continue; // Stops here if they dont have enough } // continues here if they do player maps\_zombiemode_score::minus_to_player_score( cost ); // take the points } }
Last Edit: February 05, 2016, 09:55:35 pm by Harry Bo21
trigger_function() { cost = 1000; // Amount self setHintstring( "Press and hold &&1 to buy trigger [Cost:" + cost + "]" ); // Setting your hintstring while( 1 ) { self waittill( "trigger", player ); // Wait till the trigger is used and get who uses it if ( player.score < cost ) // Check if they have enough points { wait .1; continue; // Stops here if they dont have enough } // continues here if they do player maps\_zombiemode_score::minus_to_player_score( cost ); // take the points } }
this looks really useful if i knew what to do with it lol thank you though
Wouldn't that work since a localized string doesn't exist so it would probably show nothing, so you'd need to remove the & and actually enter the string or enter it into the .str file?
Also I don't think he's talking about doors since he said "things".
I'm sorry, I really should have specified. i manged to add guns from different games, but i can only get them from using the console commands. I'm trying to add them to the wall, but if i just do it the regular way, no text comes up and I get the gun for free.