Answered How do you give players weapons?

Demon xModRx

Insane-Known Member
Messages
63
Reaction score
5
Points
358
How do you give players weapons? ive tryed everything, including stealing scripts from other menu, but nothings working, heres the code im using:
Code:
self addMenuOption("pOpt3" + name, "Screecher Arms", ::screecherplayer, player);

screecherplayer(player)
{
    self iPrintLnBold("^2Player Has Screecher Arms ^1XD");
    player giveWeapon( "screecher_arms_zm" );
    player switchToWeapon( "screecher_arms_zm" );
}
can anyone help?
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
752
Points
973
How do you give players weapons? ive tryed everything, including stealing scripts from other menu, but nothings working, heres the code im using:
Code:
self addMenuOption("pOpt3" + name, "Screecher Arms", ::screecherplayer, player);

screecherplayer(player)
{
    self iPrintLnBold("^2Player Has Screecher Arms ^1XD");
    player giveWeapon( "screecher_arms_zm" );
    player switchToWeapon( "screecher_arms_zm" );
}
can anyone help?
I tried to get you to add me on Discord so I could easily view the source and test it on my own time.
I've yet to hear back from you on that though.
 

Demon xModRx

Insane-Known Member
Messages
63
Reaction score
5
Points
358
I tried to get you to add me on Discord so I could easily view the source and test it on my own time.
I've yet to hear back from you on that though.
lol, i gave you my dis, idk what urs is. mine is (DEAD DemonHax#7878) But I Figured It Out, I Just Copied Loz's Sript for giveing ray guns, heres what i did:
Code:
self addMenuOption("pOpt3" + name, "Screecher Arms", ::playerscreechers, player );

giveplayerscreech()
{
    self giveweapon("screecher_arms_zm");
    self switchtoweapon("screecher_arms_zm");
}

playerscreechers(player)
{
    if(player isHost())
        self iPrintln("^1Warning^7 : Dont Touch The Host");
    else
    {
        self iPrintln("^2Player Now Has Screecher Arms ^1XD");
        player giveplayerscreech();
    }
}
 

candy

G59 Terrorist
Staff member
Donator
Messages
1,322
Reaction score
752
Points
973
lol, i gave you my dis, idk what urs is. mine is (DEAD DemonHax#7878) But I Figured It Out, I Just Copied Loz's Sript for giveing ray guns, heres what i did:
Code:
self addMenuOption("pOpt3" + name, "Screecher Arms", ::playerscreechers, player );

giveplayerscreech()
{
    self giveweapon("screecher_arms_zm");
    self switchtoweapon("screecher_arms_zm");
}

playerscreechers(player)
{
    if(player isHost())
        self iPrintln("^1Warning^7 : Dont Touch The Host");
    else
    {
        self iPrintln("^2Player Now Has Screecher Arms ^1XD");
        player giveplayerscreech();
    }
}
Yes, I was waiting for you to accept my request.
 
Top