|
Author
|
Message
|
|
Senior Member
|

01-20-2014
, 02:42
[HELP] Compile sma
|
#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 )
}
|
|
|
|
|