31.03.2013, 13:05
pawn Code:
for(new i; i<MAX_BUSINESS; i++)
{
GetPlayerName(playerid,Name,sizeof(Name));
printf(BizInfo[i][Owner]);
if(!strcmp(BizInfo[i][Owner],Name,true))
{
ShowPlayerDialog(playerid,DIALOG_BIZ,DIALOG_STYLE_LIST,"Verslo valdymas","Pakeisti biznio pavadinima\nPakeisti įėjimo kainą","Pasirinkti","Atsaukti");
}
else SendClientMessage(playerid,0xFF0000FF,"Tu neturi jokio verslo");
}