Raised This Month: $32 Target: $400
 8% 

Survivor Mod


Post New Thread Reply   
 
Thread Tools Display Modes
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-21-2008 , 13:06   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #11

FOUND A BUG!! REALLY ENNOYING!!

The machine gun from mechanic kills everyone accept you...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-21-2008 , 14:49   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #12

crazy effect- DO NOT POST IP ADDRESSES TO SERVERS

Can result in ban, Read the Forum Rules
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-22-2008 , 08:55   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #13

I would change this:

Quote:
public Showclassmenu(id)
{
if(!is_user_connected(id)) return PLUGIN_HANDLED
if(!is_user_alive(id)) return PLUGIN_HANDLED
new CsTeams:team = cs_get_user_team(id)
if(team == CS_TEAM_CT) {
new menuBody[512]
add(menuBody, 511, " \yCounter Zombie Class MENU:^n^n")
add(menuBody, 511, "\w1. Hunter^n")
add(menuBody, 511, "\w2. Medic^n")
add(menuBody, 511, "\w3. Mechanic^n")
show_menu(id, Keysclassmenu, menuBody, -1, "classmenu")
client_print(id, print_chat, "[AMXX] Select your counter zombie class!!!")
}
return PLUGIN_HANDLED
}

To this...
Quote:
public Showclassmenu(id)
{
if(!is_user_connected(id)) return PLUGIN_HANDLED
if(!is_user_alive(id)) return PLUGIN_HANDLED
new CsTeams:team = cs_get_user_team(id)
if(team == CS_TEAM_CT) {
new menuBody[512]
add(menuBody, 511, " Choose a survivor mod:^n^n")
add(menuBody, 511, "1. Hunter^n")
add(menuBody, 511, "2. Medic^n")
add(menuBody, 511, "3. Mechanic^n")
show_menu(id, Keysclassmenu, menuBody, -1, "classmenu")
client_print(id, print_chat, "")
}
return PLUGIN_HANDLED
}
Look to the difference (This is what i made...)


With your thing, there stands:

Counter Zombie class MENU:
w1. Hunter
w2. Medic
w3. Mechanic

___

Also maybe make a data/lang/czcm.txt
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
NestleMilo
BANNED
Join Date: May 2008
Location: http://zombieplague.org
Old 11-22-2008 , 09:02   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #14

Make XP with this and this would be the perfectzorist plugin in the world.
NestleMilo is offline
Streamy
Member
Join Date: Jun 2008
Old 11-23-2008 , 05:05   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #15

@crazyeffect:
Opps been gone 3 days because of some personal stuff.
But anyways thanks for the comments and I'm glad it made such a big hit!
Okay as for the menu pop-up thing, I'll make another define that allows you to edit the menu. But not immediately, I'm spent from traveling.
Sorry, I know I've been pretty obsessed with defines xP.
And lastly, infection mods produce that sentry bug... I've stated it. But it has nothing to do with my plugin because the sentry thingy is not part of my code at all.


@YamiKaitou:
Thanks for filling me in on that. I just thought I'd be easier if a simple package was given... Anyways I would really like to know what I need to do to get this plugin approved!
__________________
[IMG]http://img392.**************/img392/2875/final02cn8.jpg[/IMG]
Streamy is offline
loonbg
Junior Member
Join Date: Nov 2008
Old 11-28-2008 , 05:00  
Reply With Quote #16

realy nice plugin

but i have some erros


Quote:
L 11/28/2008 - 01:07:49: Start of error session.
L 11/28/2008 - 01:07:49: Info (map "zm_toxic_house2") (file "addons/amxmodx/logs/error_20081128.log")
L 11/28/2008 - 01:07:49: Invalid player id -29
L 11/28/2008 - 01:07:49: [AMXX] Displaying debug trace (plugin "amx_czcm.amxx")
L 11/28/2008 - 01:07:49: [AMXX] Run time error 10: native error (native "engclient_cmd")
L 11/28/2008 - 01:07:49: [AMXX] [0] amx_czcm.sma::unset_heal (line 592)

Last edited by YamiKaitou; 11-28-2008 at 07:57.
loonbg is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 11-28-2008 , 08:45   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #17

Whats the difference between Crazy Effects and The one here? All i see is the client chat changed.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-28-2008 , 11:28   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #18

Well... It was just, with he's you see:

w1. Hunter
w2. Medic
w3. Mechanic

Mine is the same, but just without the "w"
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-28-2008 , 11:52   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #19

omg lol if you didnt knew what \w is white color....

so better you can do like this )
\r1.\w Hunter
\r2.\w Medic
\r3.\w Mechanic

it will do Red number and white text.
__________________
xPaw is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-28-2008 , 13:09   Re: Counter Zombie Class Mod (CZCM)
Reply With Quote #20

Ok xPaw, Looks fine to me

I don't know much of coding...

I just put it there because of the "w"

--

BTW... It is still white if you delete the w...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
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 03:49.


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