Raised This Month: $ Target: $400
 0% 

type mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
cstrike37
Member
Join Date: Jan 2012
Old 04-22-2013 , 21:21   type mismatch
Reply With Quote #1

I keep getting this error when compiling, it's kinda getting annoying now.
PHP Code:
error 035argument type mismatch <argument 4
Can someone help me how to fix it?

PHP Code:
public DeathMsg()
{
    new 
kid read_data(1)
    new 
vid read_data(2)
    
    if( 
kid == vid )
        return 
PLUGIN_CONTINUE;
    if( !
g_bIsVipvid ] )
        return 
PLUGIN_CONTINUE;
    new 
pnumplayers[32]
    
get_playersplayerspnum )
    for( new 
itidpnumi++ )
    {
        
tid players[i]
        
emit_sound(tidCHAN_VOICE"spk %s",die_spk[random(2)], VOL_NORMATTN_NORM0PITCH_NORM)
    }

    return 
PLUGIN_CONTINUE;

cstrike37 is offline
 


Thread Tools
Display Modes

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:48.


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