thanks I will look thru.
but whats wrong with this code
I cant send my data correctly
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include < server_comm >
public plugin_init() {
register_plugin("Advanced redirect", AMXX_VERSION_STR, "idiot(((")
set_task(5.0,"MapLoaded",_,_,_,"b")
}
public MapLoaded()
{
new send_data = get_maxplayers() - get_playersnum()
scomm_sendf( "loopback", "%s", send_data)
}
public scomm_receive( szData[ ], iLen )
{
log_amx( "Received data: %s", szData );
}
str_to_num is useless . maxplayers is a number itself...what to do
Recieved data is : * empty or some funny symbols.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc