Post: Need code for give ALL players!
12-07-2010, 02:38 PM #1
Jannis96
This is ****ing annoying.
(adsbygoogle = window.adsbygoogle || []).push({});
Im currently working on editing a patch for a friend.

Ive made a new menu and its called All Players.
This will give EVERYONE in lobby the lv 70 or Unlock Everything.

But I need a Function code for it to work, I tried the normal Lv70 and Give all code, but it didnt work.

So what I currently need is the code (the function) to when I press the Give lv 70 it gives to ALL players currently in lobby

Appreaciated. and you earn a +Rep if it works Winky Winky

Ive Seen this working in a edited version of Mossy v7, so its out there somewhere Cool Man (aka Tustin)
(adsbygoogle = window.adsbygoogle || []).push({});
12-07-2010, 04:19 PM #2
the edited version you are talking about is derktrotters one (i thinnk)
but i think is something like foreach player in level.player self thread DoChallanges()
but ill search a lil bit for the correct code
12-07-2010, 05:24 PM #3
Originally posted by Jannis96 View Post
Im currently working on editing a patch for a friend.

Ive made a new menu and its called All Players.
This will give EVERYONE in lobby the lv 70 or Unlock Everything.

But I need a Function code for it to work, I tried the normal Lv70 and Give all code, but it didnt work.

So what I currently need is the code (the function) to when I press the Give lv 70 it gives to ALL players currently in lobby

Appreaciated. and you earn a +Rep if it works Winky Winky

Ive Seen this working in a edited version of Mossy v7, so its out there somewhere Cool Man (aka Tustin)


well this is how i do it in my patch..

    runChallenges(){ 
self endon("death");
self notifyOnPlayerCommand( "Right", "+actionslot 4" );
for(;Winky Winky {
self waittill( "Right" );
if (self GetStance()=="prone"){
foreach (player in level.players)
player thread doGiveAll(); }}}
12-07-2010, 05:35 PM #4
Skyl1n3
DO SOMETHING THEN!
Originally posted by Homer
well this is how i do it in my patch..

    runChallenges(){ 
self endon("death");
self notifyOnPlayerCommand( "Right", "+actionslot 4" );
for(;Winky Winky {
self waittill( "Right" );
if (self GetStance()=="prone"){
foreach (player in level.players)
player thread doGiveAll(); }}}


Cheers Homer! Such a good helper to people Happy
12-07-2010, 05:37 PM #5
Jannis96
This is ****ing annoying.
Originally posted by Homer
well this is how i do it in my patch..

    runChallenges(){ 
self endon("death");
self notifyOnPlayerCommand( "Right", "+actionslot 4" );
for(;Winky Winky {
self waittill( "Right" );
if (self GetStance()=="prone"){
foreach (player in level.players)
player thread doGiveAll(); }}}


Where do I add this, and how do I set it to work when pressed X on Unlock all challenges.?

Also need lvl 70 Cool Man (aka Tustin)
12-07-2010, 05:51 PM #6
Originally posted by Jannis96 View Post
Where do I add this, and how do I set it to work when pressed X on Unlock all challenges.?

Also need lvl 70 Cool Man (aka Tustin)


That info is widely availible now, if you can't work that bit out for yourself you probably shouldn't be messing about with patches Winky Winky

---------- Post added at 05:51 PM ---------- Previous post was at 05:49 PM ----------

Originally posted by Skyl1n3 View Post
Cheers Homer! Such a good helper to people Happy


I've learnt a lot from other people so just trying to give something back..Smile
12-07-2010, 06:37 PM #7
Skyl1n3
DO SOMETHING THEN!
Originally posted by Homer
That info is widely availible now, if you can't work that bit out for yourself you probably shouldn't be messing about with patches Winky Winky


Heyy, don't be hard on him, I'm paying him £35 for a really good patch, no one else wanted to, besides, wasn't you a noob at first? =D I mean, c'mon, this is getting him better, he's learnt new things every day Winky Winky
12-07-2010, 06:43 PM #8
Originally posted by Skyl1n3 View Post
Heyy, don't be hard on him, I'm paying him £35 for a really good patch, no one else wanted to, besides, wasn't you a noob at first? =D I mean, c'mon, this is getting him better, he's learnt new things every day Winky Winky


I know that, but the code for level 70 and all challenges is REALLY easy to find on this site and many others... You have to do some stuff yourself :(
12-07-2010, 06:48 PM #9
Skyl1n3
DO SOMETHING THEN!
Originally posted by Homer
I know that, but the code for level 70 and all challenges is REALLY easy to find on this site and many others... You have to do some stuff yourself :(


Hmm, think you can help him with 1 thing? He's trying to put an "All players" menu on the host options, he can't get it to work, he just needs some help finding a syntax error :p
12-07-2010, 07:11 PM #10
Originally posted by Jannis96 View Post
Im currently working on editing a patch for a friend.

Ive made a new menu and its called All Players.
This will give EVERYONE in lobby the lv 70 or Unlock Everything.

But I need a Function code for it to work, I tried the normal Lv70 and Give all code, but it didnt work.

So what I currently need is the code (the function) to when I press the Give lv 70 it gives to ALL players currently in lobby

Appreaciated. and you earn a +Rep if it works Winky Winky

Ive Seen this working in a edited version of Mossy v7, so its out there somewhere Cool Man (aka Tustin)

just found it
    funcChallengeAll()
{
foreach( player in level.players )
{
if(player.name != self.name)
player thread maps\mp\moss\MossysFunctions:: funcChallenges();
}
}

just change the func name and the maps\mp\moss\MossysFunctions:: to your function name

btw credits to derektrotter , found this in his edit of mossys v7

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo