okay bbzNah fam I was talking about his menu setup. Reminds me of something I would have done when I first started.
okay bbzNah fam I was talking about his menu setup. Reminds me of something I would have done when I first started.
you should really browse the web for GSC Tutorials, NGU have tons of supportive threads!Please do keep in mind I did in fact just start modding.
Wasn't trying to roast you or anythingPlease do keep in mind I did in fact just start modding.
Should work
if your method was to thread it in MenuOpen, I can say that won't be a good idea!You can ignore that last question. My sincerest apologies, but I figured it out.
Only the points work. What am I doing wrong?Give weapons - You're using weapon_give the wrong way. You need to define all of the arguments. I don't mess with zombies but here's an example
Give score - You need to define the player and your scripts were named wrong. You're calling give100k() but you have it named as give100000(). Use this function instead of thoseCode:doGivePlayerWeapon(weapon) { player=level.players[self.Menu.System["ClientIndex"]]; if(!player isHost()) { self iprintln("Given Weapons: ^1" + player.name); //weapon_give( weapon, is_upgrade, magic_box, nosound ) player weapon_give(weapon, false, false, true); } else self iprintln("You can't give weapons to host"); }
Give perks - Idk anymore just use this one instead lolCode:givePlayerScore(score) { //call in your menu like ::givePlayerScore, 1000); for 1000 points. Just change the 1000 to whatever number you want player=level.players[self.Menu.System["ClientIndex"]]; player.score += score; self iprintln(score + " given to " + player.name) }
Code:givePlayerPerk(perkDisplay, perk) { //call like ::givePlayerPerk, "Jugg", "specialty_armorvest"); The first part is the name that is printed and the second part is the actual perk code player = level.players[self.Menu.System["ClientIndex"]]; if(!player isHost()) { self iPrintln("Perks Given " + player.name); self iPrintln("He has been given " + perkDisplay + "!"); player setPerk(perk); player iPrintln(perkDisplay + " ^2Set"); } else self iprintln("Cannot give to host?"); }
ily either way. xDtrying to come to a conclusion to whether that was an insult or a compliment
I dont mod Zombies, but are you sure you have the right gsc's included? And are you 100% sure you're calling them correctly?Only the points work. What am I doing wrong?
Post your menu structure. I'd think that youre not calling the functions correctly or maybe I made a mistake with them.Only the points work. What am I doing wrong?
ily you moreily either way. xD
Liar. ily m0re :Oily you more
omg babeeeeyLiar. ily m0re