Raised This Month: $ Target: $400
 0% 

Some weird errors (please help)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-29-2009 , 21:32   Re: Some weird errors (please help)
Reply With Quote #1

Edit: Menu continuing to pop-up has been fixed ;).

Last edited by BOYSplayCS; 08-29-2009 at 21:39.
BOYSplayCS is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 08-29-2009 , 21:40   Re: Some weird errors (please help)
Reply With Quote #2

can anyone answer this:

The code stopped my errors, thank god, but now it doesn't give the money nor display the message that I killed someone. Any idea why?

Here's the fixed code:
PHP Code:
public eventDeathHyper()
{
    new 
killer;
    
    if (!(
<= killer <= 32))
    return 
PLUGIN_CONTINUE;
    
    
client_print(killerprint_chat"%L"killer"MSG_HYPER"get_pcvar_num(rushHyperMoney));
    
cs_set_user_money(killercs_get_user_money(killer) + get_pcvar_num(rushHyperMoney));
    
    return 
PLUGIN_HANDLED;

BOYSplayCS is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 08-30-2009 , 03:44   Re: Some weird errors (please help)
Reply With Quote #3

The killer variable is always zero.
SnoW is offline
Send a message via MSN to SnoW
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-30-2009 , 04:59   Re: Some weird errors (please help)
Reply With Quote #4

new killer = read_data( 1 );
__________________
xPaw 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 15:02.


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