14.02.2015, 05:21
Opa valeu, arrumei, tinha colocado 2x
PHP код:
if( aInfo[ playerid ][ Chefao ] == 1 )
{
strmid( tmp, text, 0, strlen( text ));
format( gstring, sizeof( gstring ), "™ [ %d ] %s{FFFFFF} %s", playerid, PlayerName( playerid ), tmp );
if( pInfo[ playerid ][ chat ] == 0 )
{
if( IsPlayerInRangeOfPoint( i, 15.0, chatX, chatY, chatZ ))
{
SendClientMessage( i, GetPlayerColor( playerid ), gstring );
}
}
if( pInfo[ playerid ][ chat ] == 1 )
{
SendClientMessage( i, GetPlayerColor( playerid ), gstring );
}
}