Salut revin cu 2 intrebari:
1.Cum fac in functie de cati bani am in "portofel" sa am si unde este sageata...acolo unde este incadrat.
2.De ce in comanda /stats imi apare la oras si la sex acele semne?
if (strcmp("/stats", cmdtext, true, 10) == 0)
{
new admin1=P_Data[playerid][admin];
new varsta1=P_Data[playerid][varsta];
new sex1=P_Data[playerid][sex];
new oras1=P_Data[playerid][oras];
new bani1=P_Data[playerid][bani];
new string2[200];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string2, sizeof(string2),"Player-ul %s ,locuieste in %s , are varsta de %d ,avand sex %s si are in portofel %d$\nAdmin:%d",name,oras1,varsta1,sex1,bani1,admin1);
ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "Status:", string2, "Close","");
return 1;
}