Raised This Month: $12 Target: $400
 3% 

zombie classes - flags.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
P8H
Junior Member
Join Date: Jan 2015
Location: UK
Old 02-08-2015 , 04:14   zombie classes - flags.
Reply With Quote #1

Hey.
Can somebody explain me how to add flags to zombie classes?

what i mean is: for example there is a raptor zombie, and raptor zombies can use only people with with flag k [only vips, or only admins e.t.c]

and there is a fat zombie and fat zombie can use only with flag A [only admins, or only vips e.t.c]

and again there is rage zombie, rage zombies can use only people with flag G. and so on.

How can you do that?

Last edited by P8H; 02-08-2015 at 09:30.
P8H is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 02-09-2015 , 14:28   Re: zombie classes - flags.
Reply With Quote #2

which zp version are you using?
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
P8H
Junior Member
Join Date: Jan 2015
Location: UK
Old 02-13-2015 , 07:07   Re: zombie classes - flags.
Reply With Quote #3

5.0.8
P8H is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 02-14-2015 , 04:38   Re: zombie classes - flags.
Reply With Quote #4

Open your zclass source code file and add somewhere this:

Spoiler
__________________


Last edited by NiHiLaNTh; 02-14-2015 at 04:39.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
P8H
Junior Member
Join Date: Jan 2015
Location: UK
Old 02-14-2015 , 04:59   Re: zombie classes - flags.
Reply With Quote #5

might be a stupid question but where is zclass source code located?
P8H is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 02-14-2015 , 08:35   Re: zombie classes - flags.
Reply With Quote #6

Your scripting folder.
__________________
Currently offline for study.
RateX is offline
P8H
Junior Member
Join Date: Jan 2015
Location: UK
Old 02-14-2015 , 09:22   Re: zombie classes - flags.
Reply With Quote #7

okay, thanks. i'll inform you how it goes.
EDIT: nop, doesn't work. everyone still can use that zombie class.

Last edited by P8H; 02-14-2015 at 09:47.
P8H is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 02-14-2015 , 10:12   Re: zombie classes - flags.
Reply With Quote #8

are you sure about this? After putting that code you need to recompile, you might forgot about it. Technically it should work.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
P8H
Junior Member
Join Date: Jan 2015
Location: UK
Old 02-14-2015 , 10:14   Re: zombie classes - flags.
Reply With Quote #9

oh yes, i forgot to recompile it.
EDIT: . Even after recompile it does not work. everyone can use it.
any ideas?

Last edited by P8H; 02-15-2015 at 07:59.
P8H 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 06:50.


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