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
07-09-2011, 05:06 PM #20
cid452
I am error
attatchments as well?
08-01-2011, 08:53 PM #21
IVI40A3Fusionz
Former Gaming Squad Member
thanks for this man this is gunna come in useful for when i make my patch! Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo