PHP код:
YCMD:bug ( playerid, params [ ], help )
{
static
sAdmins[1024],
staticBugText[450]
;
if ( isnull ( params ) )
return SendClientMessage ( playerid, ERRO, "Digite: bug [Texto]" ) ;
DOF2_SetString ( "Bugs/TodosBugs.ini", pName ( playerid ), sBug ) ;
DOF2_SaveFile ( ) ;
SendClientMessage ( playerid, 0x8000FFAA, "* Seu bug, foi enviado com sucesso. *" ) ;
format ( sAdmins, sizeof ( sAdmins ), "-HitmanBot- O Player{FFFFFF}'%s'{FFFFFF} relatou que existe o bug: {FFFFFF}%s{FFFFFF}.",sBugText, pName ( playerid ) ) ;
SendMessageToAdmins ( 0xFF7777AA, sAdmins ) ;
return 1;
}