Jump to content

sKillz00

Membru
  • Posts

    2
  • Joined

  • Last visited

    Never

sKillz00's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Esti foarte tare ![]stuntman[]!, mersi mult de tot. SendClientMessage( i, COLOR_WHITE, " " ); - aici trebuia in loc de ' i ' ' j ', dar merge perfect. mersi mult.
  2. Salut, de cateva zile ma tot chinui cu comanda asta, /cc incerc sa fac una pentru un server de GF modificat care sa stearga chatul doar jucatorilor nu si adminlor, uitati ce am facut pana acum: [pawn] if(strcmp(cmd, "/clearchat", true) == 0 || strcmp(cmd, "/cc", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 ) { for(new j = 0; j < MAX_PLAYERS; j++) { if(IsPlayerConnected(j)) { if(PlayerInfo[j][pAdmin] == 0) { for(new i = 0; i < 70; i++) SendClientMessage(i, COLOR_WHITE, " "); } else (PlayerInfo[j][pAdmin] >= 1 ) { GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "AdmWarning: %s has cleared the chat.", sendername); ABroadCast(COLOR_LIGHTRED,string,1); return 1; } } } } else { SendClientMessage(playerid, -1, "{F81414}[DENIED]:{FFFFFF} You are not authorized to use that command!"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not Logged in !"); } return 1; }[/pawn] V-as fi tare recunoscator daca ma ajutati.
×
×
  • 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.