Detaljan opis problema:E ovako ubacio sam cmd /pogledaj odogovr i /lp.E sada kada posaljem odgovor igracu koji je poslao pitanje mene nece da pise Admin je odgovorio tom i tom igracu nego gdje to treba da pise ocisti se chat...Ono kao da je obrisano nesto.Kako ja mogu napraviti da mi pise to?
Dio skripte:
fDialog(425)
{
if( !response ) return true;
if( response ) {
new text[ 128 ];
if( sscanf( inputtext, "s", text ) ) return 1;
new askid = IzabraniAskQ[ playerid ];
if( adMaskqList[ askid ][ askqSend ] == false ) return SCM( playerid, -1, "U ovom slotu nema pitanja." );
adMaskqList[ askid ][ askqSend ] = false;
new id = adMaskqList[ askid ][ askqID ];
IzabraniAskQ[ playerid ] = -1;
if( strcmp( GetName( id ), adMaskqList[ askid ][ askqOwner ], true ) == 0 ) {
askqInfo[ id ][ askqAnswered ] = true;
strmid( askqInfo[ id ][ askqAdmin ], GetName( playerid ), 0, strlen( GetName( playerid ) ), 32 );
strmid( askqInfo[ id ][ askqAnswer ], text, 0, strlen( text ), 128 );
SendClientMessageEx( playerid, -1, "Poslali ste odgovor igracu %s.", adMaskqList[ askid ][ askqOwner ] );// i ovdje
SendClientMessageEx( playerid, -1, "Vas odgovor glasi: %s.", text );//evo ovdje stoji
SendClientMessage( id, -1, "Admin/GameMaster je odgovorio na tvoje pitanje." );
SendClientMessage( id, -1, "Da pogledate odgovor ukucajte "SIVA"'/pogledajodgovor'." );
strmid( adMaskqList[ askid ][ askqOwner ], "None", 0, strlen( "None" ), 32 );
adMaskqList[ askid ][ askqID ] = -1;
}
else {
if( id != IPI ) {
askqInfo[ id ][ askqSended ] = false;
askqInfo[ id ][ askqAnswered ] = false;
strmid( askqInfo[ id ][ askqAdmin ], "None", 0, strlen( "None" ), 32 );
strmid( askqInfo[ id ][ askqAnswer ], "None", 0, strlen( "None" ), 128 );
}
strmid( adMaskqList[ askid ][ askqOwner ], "None", 0, strlen( "None" ), 32 );
adMaskqList[ askid ][ askqID ] = -1;
SCM( playerid, -1, "Taj igrac nije online." );
return 1;
}
}
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno): http://prntscr.com/dzuh0t
