ItsMods

Full Version: Request a mod thread!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
(05-03-2012, 18:43)G-Man Wrote: [ -> ]Tell me how it should be made:
1.) Both GUID's are admins, both have access to menu
OR
2.) If main GUID is on server - he has access to menu, second GUID does not. If main GUID is not on server - second GUID has access.

1.) Both GUID's are admins, both have access to menu

I have tried to make onscreen welcome message, is it right?
If yes, put it in please Smile

Code:
self thread maps\mp\gametypes\_hud_message::hintMessage("Welcome ^2"+self.name+"^7!");
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Gold Desert Eagle ^2only mod");
self thread maps\mp\gametypes\_hud_message::hintMessage("^4owner ^2RaZ ^1@ ^3BIG thanks to ^5G-Man ^4for making it!");
Well, just to mention one more time, I am newbie, hope @Yamato will point me if I am mistake, but I think that making a hints message will be displayed only for joined player.

EDIT: Maybe I misunderstood you, I thought that you wanted it to be like console saying this to chat or message written in killfeed place. If you want PERSONAL welcomes (written only for player) than of course, it will be best option, I just thought you want the greetings to be public.
(05-03-2012, 19:25)G-Man Wrote: [ -> ]Well, just to mention one more time, I am newbie, hope @Yamato will point me if I am mistake, but I think that making a hints message will be displayed only for joined player.

EDIT: Maybe I misunderstood you, I thought that you wanted it to be like console saying this to chat or message written in killfeed place. If you want PERSONAL welcomes (written only for player) than of course, it will be best option, I just thought you want the greetings to be public.

I wanted it for spawned players, I'm writed it in your gsc and I tested it, it works when a player join a team and spawning:

Code:
onPlayerSpawned()
{
    self endon( "disconnect" );
    for( ; ; )
    {
        self waittill( "spawned_player" );
        iprintln("^2Happy spawn, ^3" + self.name);
        self takeallweapons();
        self clearperks();
        givePerk( "marathon", true );
        givePerk( "sleight of hand", true );
        givePerk( "scavenger", true );
        givePerk( "stopping power", true );
        givePerk( "lightweight", true );
        givePerk( "hardline", true );
        givePerk( "cold-blooded", true );
        givePerk( "danger close", false );
        givePerk( "commando", true );
        givePerk( "steady aim", true );
        givePerk( "scrambler", true );
        givePerk( "ninja", true );
        givePerk( "sitrep", true );
        self giveweapon("deserteaglegold_mp",0,false);
        self givemaxammo("deserteaglegold_mp");
        wait (0.5);
        self switchtoweapon("deserteaglegold_mp",0,false);
        self maps\mp\perks\_perks::givePerk( "throwingknife_mp" );
        self setWeaponAmmoClip("throwingknife_mp", 1);
        
        self thread maps\mp\gametypes\_hud_message::hintMessage("Welcome ^2"+self.name+"^7!");
        self thread maps\mp\gametypes\_hud_message::hintMessage("^3Gold Desert Eagle ^2only mod");
        self thread maps\mp\gametypes\_hud_message::hintMessage("^4owner ^2RaZ ^1@ ^3big thanks to ^5G-Man ^4for making it!");
    }
}

I'm learning it slowly Big Grin
Yeah, this is not very hard.
Don't you think that it will be kinda too spammy? These texts are displayed for too much time, if they will be shown every spawn it will be a bit annoying, don't you think? It is better be put in onPlayerConnect. Working on it now
(05-03-2012, 19:38)G-Man Wrote: [ -> ]Yeah, this is not very hard.
Don't you think that it will be kinda too spammy? These texts are displayed for too much time, if they will be shown every spawn it will be a bit annoying, don't you think? It is better be put in onPlayerConnect. Working on it now

You are on right, yes it will be spammy, then in onPlayerConnect will be better Smile
Now I'm played a small time with my bro, now i have a new favour for you: please disable "Scrambler/Scrambler Pro" cuz enemy can find you when he looking at his radar.
(05-03-2012, 19:50)TheRaZ Wrote: [ -> ]
(05-03-2012, 19:38)G-Man Wrote: [ -> ]Yeah, this is not very hard.
Don't you think that it will be kinda too spammy? These texts are displayed for too much time, if they will be shown every spawn it will be a bit annoying, don't you think? It is better be put in onPlayerConnect. Working on it now

You are on right, yes it will be spammy, then in onPlayerConnect will be better Smile
Now I'm played a small time with my bro, now i have a new favour for you: please disable "Scrambler/Scrambler Pro" cuz enemy can find you when he looking at his radar.

No problem, I found it out too (played with my bro either Tongue ) but I thought then that you asked for all so... Will disable now. I have some problems currently and my master @Yamato went afk Sad
What problems are you have currently?
About admin menu or what about?
Naah, @Yamato returned, problems are solved ^_^
I made better welcome messages, working at admin menu right now.
(05-03-2012, 20:43)G-Man Wrote: [ -> ]Naah, @Yamato returned, problems are solved ^_^
I made better welcome messages, working at admin menu right now.

Okey, I'm waiting. Smile
Thanks you again and thanks to Yamato!
So this is your mod without menu (updated welcomer)
I will be working on menu tomorrow, it looks like it is much harder than I thought. OMA and @Yamato will help me
Pages: 1 2 3 4 5 6