Raised This Month: $ Target: $400
 0% 

how 2 give Zombie a gun?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 11-27-2009 , 16:57   how 2 give Zombie a gun?
Reply With Quote #1

I thought it will be easy to give a zombie class a gun but its not D:< how do i give it a gun so it can use it?
Zombiezzz is offline
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 11-28-2009 , 15:04   Re: how 2 give Zombie a gun?
Reply With Quote #2

Zombie Plague?
AfteR. is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 11-28-2009 , 15:07   Re: how 2 give Zombie a gun?
Reply With Quote #3

yup, Zombie palgue 4.3, i want to give it a scout ^_^ i got teh code and all to give it a weapon and it works to but Zombie plague the mod makes it so zombies can't shiwch to guns so how can i amek it so only this zombie class can hold the gun?
__________________
Zombiezzz is offline
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 11-28-2009 , 15:10   Re: how 2 give Zombie a gun?
Reply With Quote #4

Search for this line:

PHP Code:
// Allowed weapons for zombies (added grenades/bomb for sub-plugin support, since they shouldn't be getting them anyway) 
And then add...

PHP Code:
(1<<CSW_SCOUT
It should look like this:

PHP Code:
const ZOMBIE_ALLOWED_WEAPONS_BITSUM = (1<<CSW_KNIFE)|(1<<CSW_HEGRENADE)|(1<<CSW_FLASHBANG)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_C4)|(1<<CSW_SCOUT
AfteR. is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 11-28-2009 , 15:42   Re: how 2 give Zombie a gun?
Reply With Quote #5

it works but if i want it in the Zombie class, if i do this, people will have to edit their Zombie Palgue 3.4
__________________
Zombiezzz is offline
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 11-28-2009 , 15:52   Re: how 2 give Zombie a gun?
Reply With Quote #6

Quote:
Originally Posted by Zombiezzz View Post
it works but if i want it in the Zombie class, if i do this, people will have to edit their Zombie Palgue 3.4
Yes..
AfteR. is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 11-28-2009 , 15:52   Re: how 2 give Zombie a gun?
Reply With Quote #7

._. see i want a code that lets it have a scout In the Zombie class not in Zombie Plague 4.3
__________________
Zombiezzz is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 12-20-2009 , 17:58   Re: how 2 give Zombie a gun?
Reply With Quote #8

bumb
__________________
Zombiezzz is offline
Russiaboy
BANNED
Join Date: May 2009
Location: ZombiePlague is my Home
Old 02-24-2010 , 10:44   Re: how 2 give Zombie a gun?
Reply With Quote #9

fm_give_item(id,"weapon_deagle") ?
Russiaboy is offline
Send a message via MSN to Russiaboy Send a message via Skype™ to Russiaboy
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 02-24-2010 , 18:17   Re: how 2 give Zombie a gun?
Reply With Quote #10

:/ did you read my last post? zombies cant have guns so i need a code that makes it so zombies can have guns without having the person to change their ZP mod
__________________
Zombiezzz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode