[Support] Spawn With Money Script BO2 Zombies (Help)
-
This post is deleted!
-
No, but i can create it
-
Ashton Biehl Since money = score in ZM you just have to adjust the score of a player.
This will add 50 000 to the score of a player. Do it whenever you want it.
self.score+=50000;
-
Xerxes how ? and Where it ?
-
Make a self thread under player connect which my code would look like this
welcome() { self waittill( "spawned_player" ); self giveweapon( "fiveseven_upgraded_zm" ); self thread setmoney(); }
Then add setmoney() anywhere in your script
setmoney() { self.score = 500000; }
or if you want the money just for you when you spawn then...
setmoney() { if( self.name == "Raging MoDz" ) // this is my example. Replace Raging MoDz with your ingame name. { self.score = 500000; } }
This code does work
-
where is player connect
-
Ashton Biehl how does it work?
-
onPlayerConnect() { for(;;) { level waittill("connected", player); player thread onPlayerSpawned(); } }
-
Xerxes hello, when i modify the code it always resets when i launch plutonium and dont seem to work
-
SebSZ75 your code looks like copy pasted stuff that you can have no clue what it is or does + this topic is more than 1 year old. Maybe create your own and give actual content and context as to what you wanna do/why etc.
-