26.08.2018, 00:07
Here is the full code
Код:
//------------------------------------------------------------------------------ if(strcmp(cmd, "/statistika", true) == 0) { if(IsPlayerConnected(playerid)) { if(F6STATS[playerid] == 1) { SendClientMessage(playerid, WHITE, "{FF0000}GRESKA:{FFFFFF}Nemozete da koristite komandi vo momentot !"); return 1; } if (gPlayerLogged[playerid] != 0) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s ja poglednuva svojata licna karta", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); SetPlayerChatBubble(playerid, string, COLOR_PURPLE, 100.0, 5000); ShowStats(playerid,playerid); } else { SendClientMessage(playerid,-1, "{FF0000}GRESKA:{FFFFFF}Ne ste logirani."); } } return 1; }