Jump to content
  • 0

Cum pot pune /stats pe Dialog?



3 answers to this question

Recommended Posts


[pawn] if (strcmp(cmd, "/stats", true) == 0)




if (gPlayerLogged[playerid] != 0)






SendClientMessage(playerid, COLOR_GRAD1, "  Nu esti logat!");



return 1;


Si stringurile:

[pawn]new coordsstring[256];

format(coordsstring, sizeof(coordsstring),"____________________| %s |____________________",name);

SendClientMessage(playerid, COLOR_GREEN,coordsstring);

format(coordsstring, sizeof(coordsstring), "Level:[%d] Sex:[%s] Age:[%d] Phone:[%d] Donator:[%s] Gold:[%d] Costlevel:[%d]", level,atext,age,pnumber,drank,gold,costlevel);

SendClientMessage(playerid, COLOR_GRAD1,coordsstring);

format(coordsstring, sizeof(coordsstring), "Played hours:[%d] Record-Fish:[%d] Arests:[%d] Job:[%s] Respect:[%d/%d] Charity:[%d/%d]", ptime,bigfish,arrests,jtext,exp,expamount);

SendClientMessage(playerid, COLOR_GRAD3,coordsstring);

format(coordsstring, sizeof(coordsstring), "Cann/Coca:[%d/%d] Mats:[%d] Team:[%s] Organization:[%s] Grade:[%s] Accent[%s]",drugs,drugs2,mats,ttext,ftext,rtext,PlayerInfo[playerid][pAccent]);

SendClientMessage(playerid, COLOR_GRAD5,coordsstring);

if (PlayerInfo[playerid][pAdmin] >= 1)


format(coordsstring, sizeof(coordsstring), "House:[%d] Biz:[%d] Int:[%d] VirtualWorld:[%d/%d] Location:[%d] Bani:[ %d $ + %d $ = %d $]", housekey,bizkey,intir,virworld,virworld2,local,money1,money2,totalsold);

SendClientMessage(playerid, COLOR_GRAD6,coordsstring);


SendClientMessage(playerid, COLOR_GREEN,"___________________________________________________________");



Link to comment
Share on other sites

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.