Post: [Code] Give All Weapons
05-28-2011, 11:25 PM #1
Dreamcather
Call me Eddie Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({}); I am tired, this is maybe released, idk...

but here is the code:

    
DoWeps(){
self takeallweapons();
self iPrintlnBold("^3Giving Weapons...");
Guns[1]="30cal_mp";
Guns[2]="357magnum_mp";
Guns[3]="bar_mp";
Guns[4]="bazooka_mp";
Guns[5]="colt_mp";
Guns[6]="doublebarreledshotgun_mp";
Guns[7]="dp28_mp";
Guns[8]="fg42_mp";
Guns[9]="frag_grenade_mp";
Guns[10]="gewehr43_mp";
Guns[11]="kar98k_mp";
Guns[12]="m1carbine_mp";
Guns[13]="m1garand_mp";
Guns[14]="m2_flamethrower_mp";
Guns[15]="mg42_mp";
Guns[16]="mine_bouncing_betty_mp";
Guns[17]="mosinrifle_mp";
Guns[18]="mp40_mp";
Guns[19]="nambu_mp";
Guns[20]="ppsh_mp";
Guns[21]="ptrs41_mp";
Guns[22]="shotgun_mp";
Guns[23]="stg44_mp";
Guns[24]="springfield_mp";
Guns[25]="svt40_mp";
Guns[26]="thompson_mp";
Guns[27]="walther_mp";
Guns[28]="type100smg_mp";
Guns[29]="type99lmg_mp";
Guns[30]="type99rifle_mp";
Guns[31]="m8_white_smoke_mp";
Guns[32]="molotov_mp";
Guns[33]="satchel_charge_mp";
Guns[34]="signal_flare_mp";
Guns[35]="sticky_grenade_mp";
Guns[36]="tabun_gas_mp";
Guns[37]="tokarev_mp";
Guns[38]="panzer4_gunner_mp";
Guns[39]="panzer4_turret_mp";
Guns[40]="t34_gunner_mp";
Guns[41]="t34_turret_mp";
Guns[42]="dog_bite_mp";
for( i=1; i<43; i++ ){
self GiveWeapon( Guns[i] );
wait 0.2;}
self iPrintlnBold("^2You have all Weapons");}


Shorter Script
    
DoWeps(){
for(i = 0; i < level.weaponlist.size; i++){
self GiveWeapon( level.weaponlist[i]);
wait .02;}}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to Dreamcather for this useful post:

HeAdsWillRoLL, Karoolus
05-29-2011, 12:52 AM #2
TheFallen
Former Dark Night
Doesn't
    setClientDvar("give", "all");
work?
05-29-2011, 01:02 AM #3
Dreamcather
Call me Eddie Winky Winky
Originally posted by ITheFallenI View Post
Doesn't
    setClientDvar("give", "all");
work?


Noppe .
05-29-2011, 01:13 AM #4
TheFallen
Former Dark Night
Originally posted by EddieMeduza View Post
Noppe .


Hmmm, you'd think it would :/
05-29-2011, 01:33 AM #5
.Kane.
Banned
Originally posted by EddieMeduza View Post
Noppe .


setClientDvar("activeaction", "give all");

Does that work???
05-29-2011, 01:57 AM #6
XKevin356
Are you high?
you could do
self giveWeapon( "defaultweapon_mp", 0, false );
or whatever gun it would take longer
05-29-2011, 07:39 AM #7
Dreamcather
Call me Eddie Winky Winky
Hello none like my code???
And this give u all weapons in 2 sec
05-29-2011, 09:09 AM #8
Karoolus
I'm the W@W Menu Guy !
already had this but thx :p
05-29-2011, 09:16 AM #9
nay1995
The Master
or you could simply go to a .cfg file and put this Bind_ButtonName +buttonaction "give all"
05-29-2011, 09:23 AM #10
Dreamcather
Call me Eddie Winky Winky
Originally posted by Karoolus View Post
already had this but thx :p


np mate Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo