22.03.2012, 15:43
Quote:
PHP Code:
|
So the correct code according to the OP requested is
pawn Code:
CMD:asay ( playerid , params [] )
{
if ( !IsPlayerAdmin ( playerid ) ) return SendClientMessage ( playerid , -1 , "Your not admin" ) ;
new pName [ MAX_PLAYER_NAME ] , Str [ 128 ] ;
GetPlayerName ( playerid , pName , MAX_PLAYER_NAME ) ;
format ( Str , 128 , "%s says : %s" , pName , params ) ;
SendClientMessageToAll ( -1 , Str ) ;
return 1;
}