Raised This Month: $ Target: $400
 0% 

Where is wrong? help me ! thanks!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
griefhy
Member
Join Date: Jul 2006
Old 12-05-2007 , 10:21   Where is wrong? help me ! thanks!
Reply With Quote #1

#include <amxmodx>
#include <amxmisc>
#include <csstats>

#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"

#define MAX_NAME_LENGTH 31

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("SendAudio", "EndRoundShow", "a", "2=%!MRAD_terwin", "2=%!MRAD_ctwin", "2=%!MRAD_rounddraw")

return PLUGIN_CONTINUE
}

public EndRoundShow()
{
new g_stats[8]
new g_hits[8]
new players[32]
new num
get_players(players, num)

for(new i = 0; i < num; i++)
{
new player
player = players[i]
new name[MAX_NAME_LENGTH+1]
get_user_name(player,name,MAX_NAME_LENGTH)
get_user_rstats(player,g_stats,g_hits)
client_print(0,print_chat,"[%s] kills [%d]",name,g_stats[0])
}

return PLUGIN_CONTINUE
}

Do this section of codes have any wrong place? Why can't export correctly?Please help me ,thanks!!!!
griefhy 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 11:02.


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