Opis problema: Kako god da stavim /p neće da radi.
Deo skripte:
CMD:p( playerid, params[] )
{
new id, apmtext, string1[ 234 ];
if( PlayerInfo[ playerid ][ xAdmin ] == 0 || PlayerInfo[ playerid ][ xHelper ] == 0 || PlayerInfo[ playerid ][ xPromoter ] == 0 || PlayerInfo[ playerid ][ xVIPLevel ] == 0 ) return GRESKA( playerid, "You are not authorized." );
if( sscanf( params, "us", id, apmtext ) ) return SendUsageMessage( playerid, "/pm [ ID/Deo imena ] [ Text ]");
if( id == playerid ) return GRESKA( playerid, "Ne mozes sam sebi poslat poruku!");
if( id == IPI ) return GRESKA( playerid, "Igrac nije online!");
if( PlayerInfo[ playerid ][ xAdmin ] < 6 && PlayerInfo[ id ][ xAdmin ] >= 6 ) return GRESKA( playerid, "Ne mozes pisati TRASHMASTERu i owneru!");
AI[ playerid ][ aTPM ] ++;
SendClientMessageEx( playerid, -1, "{00CED1}Poslao si privatnu poruku %s: "col_white"%s", ImeIgraca( id ), apmtext );
SendClientMessageEx( id, ZELENA, "{00CED1}Admin kaze: "col_white"%s", apmtext );
format( string1 , sizeof( string1 ), "{AE7C5B}|A| %s -> %s : %s.", ImeIgraca( playerid ), ImeIgraca( id ), apmtext );
AdminPoruka( 1, string1 );
SacuvajAdmina( playerid );
new string[ 128 ];
format( string, sizeof( string ), "HIAC %s -> Igrac: %s | Tekst: %s", ImeIgraca( playerid ), ImeIgraca( id ), apmtext );
LogSave( "Ostalo/LogAODG.log", string );
return 1;
}


