Jump to content

keNN.

Membru
  • Posts

    146
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by keNN.

  1. Presupun ca ai dat direct copy & paste ?
  2. UP + Recomand
  3. Este cel bigzone dar versiunea veche care a aparut acum un an . Baza din folder nici nu are factiunile pe care le enumeri aici.
  4. E vehci si a mai fost postat.
  5. Pret UCP ?
  6. What? normal ca e pe mysql si acel if nu are treaba cu mysql.
  7. Ai idee cat dureaza si ca e complicat ?
  8. Sa o faci compatibila cu panelul
  9. Nu vad erorile..
  10. Pai logic daca nu e compatibil panelul cu baza de date..
  11. keNN.

    Panel

    Despre cine vorbesti ?
  12. keNN.

    Panel

    Exact
  13. Aceste programe pot fi evitate foarte usor.
  14. Vorbesti de raksamp.
  15. S0beit care poate fi folosit in orice mod (Fly,speed,teleport s.a.m.d) Pe langa s0beit poti sa adaugi si anti cleo mods pentru ca exista si moduri cleo care imita s0b-ul. Apropo tu scriptezi la server-ul lui Awake ?
  16. NIMENI
  17. Nu iti recomand sa te apuci de lucru in mysql daca nu sti nimic.
  18. Poti sa o faci si singur.
  19. Poftim: CMD:ban(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] >= 1) { new playerBanID, days, string[256], playerBanReason[60]; if(sscanf(params, "uis[60]", playerBanID,days, playerBanReason)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/ban [playerid] [days: 0 - permanently / max 999 days] [reason]"); if(IsPlayerConnected(playerBanID)) { if(playerVariables[playerBanID][pAdminLevel] >= 1) return SendClientMessage(playerid, COLOR_GREY, "You can't ban an administrator."); new aString[384]; if(days == 0) { playerVariables[playerBanID][pBanned] = 1; format(aString, sizeof(aString), "Ban: %s has been permanent banned by %s, reason: %s", playerVariables[playerBanID][pNormalName], playerVariables[playerid][pNormalName], playerBanReason); SendClientMessageToAll(COLOR_LIGHTRED, aString); mysql_real_escape_string(aString, aString); adminLog(aString); format(szMessage, sizeof(szMessage), "INSERT INTO lastpunish (text, playerID) VALUES ('%s', '%d')", aString,playerVariables[playerBanID][pInternalID]); mysql_tquery(handle,szMessage); format(aString, sizeof(aString), "INSERT INTO bans (playerNameBanned, playerBannedBy, playerBanReason) VALUES('%s', '%s', '%s')", playerVariables[playerBanID][pNormalName], playerVariables[playerid][pNormalName], playerBanReason); mysql_tquery(handle,aString); SetTimerEx("kick2", 1000, 0, "d", playerBanID); } else if((days >= 1) && (days <= 999)) { new File:tempban = fopen("TempBans.ban", io_append); if(tempban) { new year,month,day; getdate(year, month, day); day += days; if (IsMonth31(month)) { if (day > 31) { month += 1; if (month > 12) { year += 1; while(day > 31) day -= 31; } else while(day > 31) day -= 31; } } else if (!IsMonth31(month)) { if (day > 30) { month += 1; if (month > 12) { year += 1; while(day > 30) day -= 30; } else while(day > 30) day -= 30; } } else if (!IsMonth31(month) && IsMonth29(year) && month == 2) { if (day > 29) { month += 1; if (month > 12) { year += 1; while(day > 29) day -= 29; } else while(day > 29) day -= 29; } } else if (!IsMonth31(month) && !IsMonth29(year) && month == 2) { if (day > 28) { month += 1; if (month > 12) { year += 1; while(day > 28) day -= 28; } else while(day > 28) day -= 28; } } } format(string, sizeof(string), "Ban: %s has been banned by %s for %d days, reason: %s",playerVariables[playerBanID][pNormalName], playerVariables[playerid][pNormalName], days, playerBanReason); SendClientMessageToAll(COLOR_LIGHTRED, string); adminLog(string); new str[128]; format(str,128,"UPDATE `playeraccounts` SET `playerBanDays`='%d' WHERE `playerName`='%s'",days*24,playerVariables[playerBanID][pNormalName]); mysql_tquery(handle, str); format(szMessage, sizeof(szMessage), "INSERT INTO lastpunish (text, playerID) VALUES ('%s', '%d')", string,playerVariables[playerBanID][pInternalID]); mysql_tquery(handle,szMessage); SCM(playerBanID,-1,"Ai fost banat temporar de catre un admin!"); SetTimerEx("kick2", 1000, 0, "d", playerBanID); } else { SCM(playerid,-1,"Invalid amount of days"); } } } else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly); return 1; }
  20. Presupun ca are ca orice gamemode,decat imi dau cu parerea pentru ca nu l-am deschis.
  21. Nu mai este a mea.
  22. Tu vorbesti si maine vad ca iti faci server cu gm-ul asta..
×
×
  • 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.