Raised This Month: $ Target: $400
 0% 

Works on win but not on linux?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 05-09-2010 , 11:44   Works on win but not on linux?
Reply With Quote #1

This works perfectly on my Windows server, on the linux one not, i can't see the message. I uploaded everything fine, code:

PHP Code:
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_event("DeathMsg""eDeath""a");
}

public 
eDeath()
{
    new 
killer read_data);
    new 
victim read_data);
    new 
weapon[8]
    
read_data(4weapon7
    
    new 
szNameK[32], szNameV[32];
    
get_user_name(killerszNameK31);
    
get_user_name(victimszNameV31);
    
    if (
killer != victim && equal(weapon"awp")) 
    {
    
client_print(0print_chat"%s killed someone with the AWP!"szNameK);
    }

KadiR 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:37.


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