Answered How do you give players weapons?

DemonHax

Member
Messages
14
Points
8
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
Premium Member
Donator
Messages
1,305
Points
548
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.
 

DemonHax

Member
Messages
14
Points
8
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
Premium Member
Donator
Messages
1,305
Points
548
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