Jump to content

sampboy

Membru
  • Posts

    8
  • Joined

  • Last visited

    Never

sampboy's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. [pawn]if(strcmp(cmd, "/ban", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "{0033FF}UTILIZEAZA:{FFFFFF}: /ban [iDJucator/PARTEdinNUME] [motiv]"); return 1; } giveplayerid = ReturnUser(tmp); if (PlayerInfo[playerid][pAdmin] >= 1) { if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[900]; 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, "{0033FF}UTILIZEAZA:{FFFFFF}: /ban [iDJucator/PARTEdinNUME] [motiv]"); return 1; } new banstring[64]; new year, month,day; getdate(year, month, day); format(string, sizeof(string), "AdmCmd: %s a fost banat de %s, Motiv: %s (%d-%d-%d)", giveplayer, sendername, (result),month,day,year); BanLog(string); format(string, sizeof(string), "AdmCmd: %s a fost banat de %s, Motiv: %s", giveplayer, sendername, (result)); SendClientMessageToAll(COLOR_LIGHTRED, string); PlayerInfo[giveplayerid][pLocked] = 1; format(banstring, sizeof(banstring), "Admin: %s | Motiv %s", sendername, (result)); BanEx( giveplayerid, banstring ); return 1; } }//not connected } else { format(string, sizeof(string), " %d nu este un jucator activ.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } } return 1; }[/pawn] Asta e comanda. Ce trb sa modific??
  2. Pai nu pot! Nu am acest fisier in folderul cu serverul... :(
  3. Am o problema cu banul. Am luat ban ip pe sv meu. Am dat rr la modem. Am sters contul din scriptfiles... Ce sa mai fac? Imi apare Connect 127.0.0.1:7777 apoi Connected. Joining the game. Si apoi Server Closed Conection. P.S.: Serverul nu este hostat. Inca lucram la el cand s-a intamplat asta.
  4. Salut! Sunt incepator in Editat Mape si as dori sa va prezint ce am INCERCAT sa realizez cu ajutorul Map Editor. Am incercat sa decorez Benzinaria Los Santos. Timp de lucru: 30 minute Autor: Johnny12 VA ROG SA MA SCUZATI DACA AM GRESIT CEVA. CUM SPUNEAM SUNT INCEPATOR. PASTEBIN: http://pastebin.com/syJzKDvz DOWNLOAD: http://www.4shared.com/office/i4pQ5uDA/Benzinaria_LS_fostul_work.html
  5. Frumos 5/5. Dar cum salvez mapa?? Si 2. Care e diferenta dintre CreateDynamicObject si CreateObject?
  6. Iti spun eu de ce. 1. Ti-am zis daca ai nevoie de scripter ai zis ca nu si mi-ai dat ban ( ca un copil de 10 ani ).2. Esti Incepator in script. 3. De ce sa ii furi munca? Lasa omul in pace. Bine lucrat cu gm-ul e foarte bun. Pacat ca avem prosti in tara asta care fura gm-uri.
×
×
  • 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.