Raised This Month: $ Target: $400
 0% 

[HELP] Compile sma


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
XeOn Cp
Senior Member
Join Date: Jan 2014
Old 01-20-2014 , 02:42   [HELP] Compile sma
Reply With Quote #1

can anyone compile that sma ? thanks i can't compile it there is erros and if u can please


Quote:
#include < amxmodx >
#include < amxmisc >
#include < csx >
#include < csstats >

public plugin_init( )
{
register_plugin( "Connect Info Hud", "0.1", "x // www.alliedmods.net" )
}

public client_putinserver( id )
{
if( is_user_bot( id ) ) return

set_task( 10.0, "go_info", id )
}

public go_info(id)
{
new stats[ 8 ], body[ 8 ], hostname[ 64 ], name[ 32 ]

new rank_pos = get_user_stats( id, stats, body )
new rank_max = get_statsnum( )

get_cvar_string( "hostname", hostname, 63 )
get_user_name( id, name, 31 )

set_hudmessage( 0, 255, 0, 0.10, 0.24, random_num( 0, 2 ), 6.0, 8.0 )
show_hudmessage( id, "Welcome, %s^nWe hope you enjoy you stay here!^n^n%s^n^nYour rank is %d from %d", name, hostname, rank_pos, rank_max )
}
XeOn Cp 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:11.


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