Jump to content

SampRomania

Membru
  • Posts

    5
  • Joined

  • Last visited

    Never

SampRomania's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Si imi poti face te rog pe grade? La Admin 1 , 2 , 3 4 , 1337 sa apara asa: (({FFCC00}Admin {FFCC00})): Si mesaju care o sa-l dea cu culoarea {FFCC00} La Owner sa apara asa: (({FF0000}Owner {FF0000})): Si mesaju care o sa-l dea cu culoarea {FFCC00} Si cam atat.
  2. Bun , multumesc , dar mai am o problema. De ce un player fara admin poate scrie pe /o?
  3. //----------------------------------[ooc]----------------------------------------------- if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_GREY, " You havent logged in yet !"); return 1; } if ((noooc) && PlayerInfo[playerid][pAdmin] < 1) { SendClientMessage(playerid, COLOR_GRAD2, " The OOC channel has been disabled by an Admin !"); return 1; } if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, " You can't speak, you have been silenced !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: (/o)oc [ooc chat]"); return 1; } format(string, sizeof(string), "(({4BB3F9}Admin {F81414}%s{FFFFFF}: %s ))", sendername, result); OOCOff(COLOR_OOC,string); printf("%s", string);//aici } return 1; } Asta e codul de la comanda /o. La Admini 1 , 2 ,3 , 4 sa apara Admin cu galben , la 1338 sa apara Owner cu rosu , iar la 1339 Scripter cu verdele ala deschis. Multumesc pentru cei care vor sa ma ajute. P.S: Toate intre 2 paranteze ..
  4. Salut! As dori , daca se poate sa imi spuneti si mie cum modific un script. De exemplu: am comanda /o si apare "Admin" cu rosu la owner. Cum fac sa apara la adminul 1338 Owner cu rosu cand da pe /o si sa nu ii mai apara admin? Copiez din alt gm si apoi compilez?
  5. Salut! Am un gamemod .amx , .pwn si incerc sa ii modific reclamele. Trebuie sa le modific din .pwn sau si din .amx? Eu am modificat doar din .pwn am intrat, am modificat, am salvat si am dat restart la server. Trebuie oare sa compilez si dupa sa ies si sa salvez? Sau trebuie modificat si din .amx? [Am incercat sa modific reclamele]
×
×
  • 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.