Raised This Month: $ Target: $400
 0% 

Not working :/


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-21-2013 , 10:14   Not working :/
#1

Why isnt it working ?
Code:
register_forward(FM_CmdStart, "fwd_CmdStart")
Code:
public fwd_CmdStart(id, handle) {     if (!is_user_connected(id))         return             if (is_user_alive(id) || zp_class_zombie_get_current(id) != g_AntidotID)         return         if (g_InfectCount[id] < antidot_count)     {         client_print(id, print_center, "Fuck you, you cant use it now");         return     }         static button     button = get_user_button(id)     if (button & IN_USE)         antidot_start(id) }
Podarok is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-21-2013 , 10:15   Re: Not working :/
#2

Title please.

https://forums.alliedmods.net/misc.php?do=showrules
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-21-2013 , 10:19   Re: Not working :/
#3

Whats wrong with my title ?
Podarok is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 04-21-2013 , 10:45   Re: Not working :/
#4

Quote:
Originally Posted by Podarok View Post
Whats wrong with my title ?
Quote:
  • Use descriptive topic titles. People should know at a glance of the title what the thread is about.

Last edited by EpicMonkey; 04-21-2013 at 10:45.
EpicMonkey is offline
Podarok
BANNED
Join Date: Jan 2011
Location: Narnia
Old 04-21-2013 , 10:46   Re: Not working :/
#5

I cant change title of thread now. Can you help me please ? I changed code to this and it doesnt work still. nothing happens :
Code:
public fwd_CmdStart(id, handle) {     if (!is_user_connected(id))         return FMRES_IGNORED             if (is_user_alive(id) || zp_class_zombie_get_current(id) != g_AntidotID)         return FMRES_IGNORED         if (g_InfectCount[id] < antidot_count)     {         client_print(id, print_center, "Fuck you, you cant use it now");         return FMRES_IGNORED     }         static button     button = get_uc(handle,UC_Buttons)     if (button & IN_USE)         antidot_start(id)             return FMRES_HANDLED }
Podarok is offline
Closed Thread



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 10:56.


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