AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Compile sma (https://forums.alliedmods.net/showthread.php?t=233773)

XeOn Cp 01-20-2014 02:42

[HELP] Compile sma
 
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 01-20-2014 03:32

Re: [HELP] Compile sma
 
thanks bro thanks :*

DavidJr 01-20-2014 03:57

Re: [HELP] Compile sma
 
Remove the .amxx file

XeOn Cp 01-20-2014 09:13

Re: [HELP] Compile sma
 
Untitled.amxx file remove ? why ?

YamiKaitou 01-20-2014 09:26

Re: [HELP] Compile sma
 
You have to compile it yourself, we can't post AMXX files here

XeOn Cp 01-20-2014 10:26

Re: [HELP] Compile sma
 
yes , but i posted cuz i cant compile, if you can tech me and then i will't post here, my compiler says errors and idk why, i tryed with amxmodx.org but again fail... sorry

YamiKaitou 01-20-2014 10:35

Re: [HELP] Compile sma
 
Well, start by showing the errors you get, because it compiles fine for me

XeOn Cp 01-20-2014 11:25

Re: [HELP] Compile sma
 
does it needs any inc file? (include) error: could not located input

YamiKaitou 01-20-2014 11:28

Re: [HELP] Compile sma
 
Nope, it does not require any additional include files. Give us the complete output of the compiler when you try it

XeOn Cp 01-20-2014 14:51

Re: [HELP] Compile sma
 
oke bro if i will need help with compile i'll PM you ok bro?


All times are GMT -4. The time now is 10:11.

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