Post: code for no gun or care package in hand
12-16-2010, 12:37 PM #1
iJokaa
Haters Keep Me Going Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({}); does anyone have the a code for when you spawn you dont have a gun lol or you spawn with a care package in your hand abit like juggernaught zombies. or the code on the unkn0wns patch "remove gun" but so i can takes someones gun
(adsbygoogle = window.adsbygoogle || []).push({});
12-16-2010, 12:51 PM #2
solar
Gym leader
I'd like this to; not hijacking just needed to:P
12-16-2010, 03:59 PM #3
Originally posted by iJokaa View Post
does anyone have the a code for when you spawn you dont have a gun lol or you spawn with a care package in your hand abit like juggernaught zombies. or the code on the unkn0wns patch "remove gun" but so i can takes someones gun


put it in onplayerspawned();

self thread maps\mp gametypes_class::setKillstreaks("none","none","none");

self takeAllWeapons();

self _clearPerks();

self _giveWeapon("airdrop_marker_mp");

The following user thanked x_DaftVader_x for this useful post:

iJokaa
12-16-2010, 04:51 PM #4
iJokaa
Haters Keep Me Going Winky Winky
oka thanks mate Smile

---------- Post added at 11:51 AM ---------- Previous post was at 11:20 AM ----------

Originally posted by Homer
put it in onplayerspawned();

self thread maps\mp gametypes_class::setKillstreaks("none","none","none");

self takeAllWeapons();

self _clearPerks();

self _giveWeapon("airdrop_marker_mp");



is there ment to be a space betweer each line?

well i got as syntax error. i took away them spaces between each line
12-16-2010, 05:35 PM #5
TheJaRniBoi
Why So Serious?
set it like this:

    menu.name[1]="Get Marker";
menu.function[1]=(directory of where script is)::givemarker;
menu.input[1]=self.input;
menu.name[2]="Remove Weapons";
menu.function[2]=(directory of where script is)::takeweapons;
menu.input[2]=self.input;


paste code in the your chosen directory

    takeweapons()
{
self takeAllWeapons();
}

givemarker()
{
self _giveWeapon("airdrop_marker_mp");
}

The following user thanked TheJaRniBoi for this useful post:

iJokaa
12-16-2010, 06:07 PM #6
EliteMossy
TheDigitalBoard.com
Originally posted by iJokaa View Post
oka thanks mate Smile

---------- Post added at 11:51 AM ---------- Previous post was at 11:20 AM ----------




is there ment to be a space betweer each line?

well i got as syntax error. i took away them spaces between each line


    
self thread maps\mp\gametypes\_class::setKillstreaks("none","none","none");

self takeAllWeapons();

self _clearPerks();

self _giveWeapon("airdrop_marker_mp",0);

The following user thanked EliteMossy for this useful post:

iJokaa
12-16-2010, 06:25 PM #7
Not sure how that little space got into "non e".. I save codes in a word file so it must be a copypasta fail.. :(

Thanks for fixing it..

---------- Post added at 06:25 PM ---------- Previous post was at 06:23 PM ----------

Originally posted by EliteMossy View Post
    
self thread maps\mp\gametypes\_class::setKillstreaks("none","none","none");

self takeAllWeapons();

self _clearPerks();

self _giveWeapon("airdrop_marker_mp",0);


have you ever tried

self _giveWeapon("airdrop_marker_mp", 8 ); ?

fall camo on a marker Smile
12-16-2010, 06:44 PM #8
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by CODGlitcha View Post
set it like this:

    menu.name[1]="Get Marker";
menu.function[1]=(directory of where script is)::givemarker;
menu.input[1]=self.input;
menu.name[2]="Remove Weapons";
menu.function[2]=(directory of where script is)::takeweapons;
menu.input[2]=self.input;


paste code in the your chosen directory

    takeweapons()
{
self takeAllWeapons();
}

givemarker()
{
self _giveWeapon("airdrop_marker_mp");
}



is this script for myself or is it to do to someone ?
12-16-2010, 08:09 PM #9
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by CODGlitcha View Post
set it like this:

    menu.name[1]="Get Marker";
menu.function[1]=(directory of where script is)::givemarker;
menu.input[1]=self.input;
menu.name[2]="Remove Weapons";
menu.function[2]=(directory of where script is)::takeweapons;
menu.input[2]=self.input;


paste code in the your chosen directory

    takeweapons()
{
self takeAllWeapons();
}

givemarker()
{
self _giveWeapon("airdrop_marker_mp");
}

[/quote]
cheers i done it and the remove gun bit worked but not the care package. but how can i do this so i can do it to other people. like give god mode but it will be take weapons
12-16-2010, 08:18 PM #10
TheJaRniBoi
Why So Serious?
Originally posted by iJokaa View Post

cheers i done it and the remove gun bit worked but not the care package. but how can i do this so i can do it to other people. like give god mode but it will be take weapons[/QUOTE]

add it to your player menu. Now when you select a player the option will appear to remove guns.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo