Raised This Month: $ Target: $400
 0% 

[SOLVED] Native error...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 05-17-2010 , 05:10   [SOLVED] Native error...
Reply With Quote #1

PHP Code:
public message_textmsg()
{
    static 
textmsg[27]
    
get_msg_arg_string(2,textmsg26)
// Block drop weapon related messages
if(equal(textmsg[1],"#Weapon_Cannot_Be_Dropped"))
    {
    return 
PLUGIN_HANDLED;
    }
        return 
PLUGIN_CONTINUE;

As you can see , i'm trying to block that "Weapon acnnot be dropped" messages...
And here is the errorlog:
Quote:
L 05/17/2010 - 16:04:49: [AMXX] Run time error 10: native error (native "get_msg_arg_string")
L 05/17/2010 - 16:04:49: Invalid message argument

Last edited by 5c0r-|3i0; 05-17-2010 at 07:46.
5c0r-|3i0 is offline
 



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


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