Jump to content

SaLiErY

Membru
  • Posts

    126
  • Joined

  • Last visited

Everything posted by SaLiErY

  1. As vrea sa fac cand dai /stats sa arete armele ce le ai in mana de ex am in mana deagle 50 glonte mp5 100 glonte si m4 500 glonte si la /stats sa apare armele tale sunt deagle 50 gloante , mp5 100 glonte , m4 500 glonte daca se poate Va Multumesc Anticipat
  2. am rezolvat eroare ce o dadea dar tot nu merge comadna draku stia ce are o sa fac eu pana la urma
  3. PROBLEMA LA switch(ATST)
  4. deci am 2 mari probleme 1 nu merge sa adaug mai multe case pe mod nu stiu dc fac tot ce scrie in tutoriale si nu merge! adica face casa o gaseste pe srv dar nu apar masinile de pe srv 2 am facut si eu o comanda de apply admin si nu merge cum trebe ma puteti ajuta 3 cum pot face joburi noi comanda if(strcmp(cmd, "/apply admin", true) == 0) { if(ATest[playerid] == 0) { ATest[playerid] = 1; } } si aici intrebarile public ATest1(playerid) { SendClientMessage(playerid, COLOR_DBLUE, "|_____ Admin Test _____|"); SendClientMessage(playerid, COLOR_DBLUE, "Ce fac daca un player da /report cu o problema si am si eu problemele mele in acel moment?"); SendClientMessage(playerid, COLOR_GREEN, " A: Imi continui treaba si ii raspund imediat dupa ce termin."); SendClientMessage(playerid, COLOR_GREEN, " B: Nu ma intereseaza... Sunt Admin doar !"); SendClientMessage(playerid, COLOR_GREEN, " C: Ma opresc din ce faceam si ajut playerul."); SendClientMessage(playerid, COLOR_GREEN, " D: Ma opresc din ce faceam, ii dau /w sa astepte putin, dupa care il ajut la problema sa."); ATST[playerid] = 1; } public ATest2(playerid) { SendClientMessage(playerid, COLOR_DBLUE, "|_____ Admin Test _____|"); SendClientMessage(playerid, COLOR_DBLUE, "Ce patesc daca nu ascult de un Admin mai mare ?"); SendClientMessage(playerid, COLOR_GREEN, " A: Ies de pe server in asa fel incat acel Admin sa nu poata sa ma downgradeze."); SendClientMessage(playerid, COLOR_GREEN, " B: Imi cer scuze si poate am o sansa sa nu primesc Admin Down..."); SendClientMessage(playerid, COLOR_GREEN, " C: Dau repede /q."); SendClientMessage(playerid, COLOR_GREEN, " D: Il injur si ies de pe server gandindu-ma ca totusi am fost Admin pe acel server."); ATST[playerid] = 2; } public ATest3(playerid) { SendClientMessage(playerid, COLOR_DBLUE, "|_____ Admin Test _____|"); SendClientMessage(playerid, COLOR_DBLUE, "Da-mi un exemplu de comenzi importante ca Admin."); SendClientMessage(playerid, COLOR_GREEN, " A: /kick, /warn, /slap, /ban, /fuck."); SendClientMessage(playerid, COLOR_GREEN, " B: /edit, /asellhouse, /asellbiz, /asellsbiz."); SendClientMessage(playerid, COLOR_GREEN, " C: /ban, /warn, /kick, /slap, /goto, /setstat."); SendClientMessage(playerid, COLOR_GREEN, " D: Nu stiu, sa trecem la urmatoarea intrebare !"); ATST[playerid] = 3; } public ATest4(playerid) { SendClientMessage(playerid, COLOR_DBLUE, "|_____ Admin Test _____|"); SendClientMessage(playerid, COLOR_DBLUE, "In situatia in care ai admin mic, ai vazut unul care face reclama si nu ai acces la comenzile /ban sau /kick, ce faci?"); SendClientMessage(playerid, COLOR_GREEN, " A: Anunt un Admin mai mare, iar daca nu este niciunul online, ii dau /mute si level 1 ca sa nu poata da /w."); SendClientMessage(playerid, COLOR_GREEN, " B: Asta e... Se mai intampla."); SendClientMessage(playerid, COLOR_GREEN, " C: Ies de pe server si daca intreaba cineva zic ca nu eram online."); SendClientMessage(playerid, COLOR_GREEN, " D: Ii dau /setskin [id] [1234567etc] si ii stric contul de tot."); ATST[playerid] = 4; }
  5. SaLiErY

    problema

    am si eu o mare problema am incercat sa fac masini pe care sa le cumpere playeri cu v buy si alea alea dar nu am reusit imi da erori erorile ce mi le da sunt: C:\Documents and Settings\Admin\Desktop\impact.pwn(4967) : error 004: function "IsAnOwnableCar" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(4972) : error 004: function "IsASalesVehicle" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(4976) : error 004: function "GetVehiclePrice" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(6013) : error 004: function "IsAnOwnableCar" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(6030) : error 004: function "IsASalesVehicle" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(6656) : error 004: function "IsAnOwnableCar" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(6666) : warning 202: number of arguments does not match definition C:\Documents and Settings\Admin\Desktop\impact.pwn(8435) : error 004: function "GetVehiclePrice" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(8442) : error 004: function "GetVehiclePrice" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(9288) : error 004: function "LoadDynamicFactions" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(10797) : error 004: function "IsASalesVehicle" is not implemented C:\Documents and Settings\Admin\Desktop\impact.pwn(10801) : error 017: undefined symbol "PropertyString" C:\Documents and Settings\Admin\Desktop\impact.pwn(10801) : error 017: undefined symbol "PropertyString" C:\Documents and Settings\Admin\Desktop\impact.pwn(10801) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Desktop\impact.pwn(10801) : fatal error 107: too many error messages on one line
  6. SaLiErY

    Help me!

    la prima problema te ajut si la post 2 cu modem nu poti tine servere pentru ca tis inchise porturile
  7. SaLiErY

    intrebare

    nu am nici un plugin gm e compilat char nu inteleg
  8. SaLiErY

    intrebare

    Script [gamemodes/GreenZone.amx] : Run Time Error 19: "File or Fuctions Is not found asta imi da in server log cand vreu sa-l deschid pe 3b
  9. SaLiErY

    intrebare

    multumesc mult la toti puteti da tc
  10. SaLiErY

    intrebare

    warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint") poate reusesc eu so fac dau edit daca reusesc uite linia new Text:Textdraw10;
  11. SaLiErY

    intrebare

    vreu sa trec srv pe 0.3b si vreu ca obiectele sa se vada am facut sa se vada dar imi da warninguri si erori si nu stiu dc am compilat cu pawno de 0.3b de 0.3a cu tot ce am putut si nimic
  12. SaLiErY

    intrebare

    calm frate am inteles
  13. SaLiErY

    intrebare

    da dar eu vreu sa fie pentru admin mai mare de lvl 1
  14. SaLiErY

    intrebare

    daca incocuesc isplayeradmin cu if(PlayerInfo[playerid][Level] nu o sa fie ca daca ai score mai mare ca 1 sa poti da?
  15. SaLiErY

    intrebare

    if(strcmp(cmd, "/tempban", true) == 0) { if (IsPlayerAdmin(playerid)) { tmp = strtok(cmdtext,idx); if(!strlen(tmp)) { SendClientMessage(playerid, ORANGE, "USAGE: /tempban [playerid] [day] [reason]"); SendClientMessage(playerid, ORANGE, "FUNCTION: Temporarily bans a player. You must enter the month, day and hour numbers. You set them, not add."); return 1; } giveplayerid = ReturnUser(tmp); new string[128]; if(IsPlayerConnected(giveplayerid)) { tmp = strtok(cmdtext, idx); if (!strlen(tmp)) return SendClientMessage(playerid, ORANGE, "USAGE: /tempban [playerid] [day] [reason]"); new days = strval(tmp); new reason[128]; reason = bigstr(cmdtext, idx); if (!strlen(reason)) return SendClientMessage(playerid, ORANGE, "USAGE: /tempban [playerid] [day] [REASON]"); new ip[15]; GetPlayerIp(giveplayerid,ip,15); GetPlayerName(playerid, name, sizeof name); GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); 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, "%d|%d|%d|%s\n", day, month, year, ip); fwrite(tempban, string); fclose(tempban); } format(string,128,"|- Administrator %s temporarily banned %s for %d day(s). [Reason: %s] -|",name,giveplayer,days,reason); SendClientMessageToAll(ADMIN_RED,string); Kick(giveplayerid); } else { format(string, sizeof(string), "%d is not an active player.", giveplayerid); SendClientMessage(playerid, RED, string); } } else return SendClientMessage(playerid, RED, "You are not an admin."); return true; } return false; }
  16. SaLiErY

    intrebare

    dupa cautari lungi pe google am gasit o comanda de ban pe timp testa merge pot adauga ca merge la perfect dar numi place ceva ca ma lasa so folosesc dor de-s logat cu rcon adica cum pot face sa fie daca ai admin de lvl 1 nu sa trebuiasca rcon
  17. multumec mult tutorol puteti da TC!
  18. thx man mult de tot char nu am inteles ce-i cu acel 50 si daca mai adaug trebe dor sa mai fac AddFlitsPaal(i, 1278, 1524.257935, -1703.046753, 13.093750, 40, 50); // Prefeitura si sa simb codonatele?
  19. Buna Folosesc Un Radar De Pe Net si am o intrebare cum pot mari viteaza adica in oras viteza maxima e de 50 KM/h cum o pot mari #include <a_samp> // SISTEMA DE RADAR FEITO POR Pedro_Felipe - Pedro_Tilambucu //---------------------------------------- new UpdateSeconds = 2; // Não Mecher new maxobject = 4; //---------------------------------------- public OnFilterScriptInit() { print("\n----------------------------------"); print("[FS] Radar Automatico Carregado"); print("----------------------------------\n"); SetTimer("UpdateSpeed", UpdateSeconds*1000, 1); } public OnFilterScriptExit() { print("\n----------------------------------"); print("[FS] Radar Automatico Desativado"); print("----------------------------------\n"); } forward UpdateSpeed(playerid); enum SavePlayerPosEnum { Float:LastX, Float:LastY, Float:LastZ } #define COLOR_YELLOW 0xFFFF00AA #define VERDEFRACO 0x80cf80AA #define SLOTS 500 new objectcreated; new SavePlayerPos[SLOTS][SavePlayerPosEnum]; new distance1[MAX_PLAYERS]; public UpdateSpeed(playerid) { new Float:x,Float:y,Float:z; new Float:distance,value; for(new i=0; i<SLOTS; i++) { if(IsPlayerConnected(i)) { GetPlayerPos(i, x, y, z); distance = floatsqroot(floatpower(floatabs(floatsub(x,SavePlayerPos[i][LastX])),2)+floatpower(floatabs(floatsub(y,SavePlayerPos[i][LastY])),2)+floatpower(floatabs(floatsub(z,SavePlayerPos[i][LastZ])),2)); value = floatround(distance * 3600); if(UpdateSeconds > 1) { value = floatround(value / UpdateSeconds); } distance1[i] = floatround(value/1600); SavePlayerPos[i][LastX] = x; SavePlayerPos[i][LastY] = y; SavePlayerPos[i][LastZ] = z; /* Para colocar Coordenada no lugar que voce quer , basta colocar a Coordenada X,Y,Z no lugar dos 00000 , o 40 é o radio , que o radar pega, e o 50 , é a velocidade maxima*/ AddFlitsPaal(i, 1278, 1477.366089, -1725.674316, 13.093750, 40, 50); AddFlitsPaal(i, 1278, 1524.257935, -1703.046753, 13.093750, 40, 50); // Prefeitura AddFlitsPaal(i, 1278, 1092.917847, -1857.532471, 13.097494, 40, 50); // BANCO AddFlitsPaal(i, 1278, 1205.723633, -1857.804932, 13.093750, 40, 50); // HOSPITAL AddFlitsPaal(i, 1278, 1305.047485, -1830.348755, 13.093750, 40, 50); // VAGO AddFlitsPaal(i, 1278, 1305.518433, -1694.936890, 13.093750, 40, 50); // VAGO AddFlitsPaal(i, 1278, 1306.388184, -1554.258057, 13.093750, 40, 50); // VAGO AddFlitsPaal(i, 1278, 1339.077515, -1480.506714, 13.093750, 40, 50); // VAGO AddFlitsPaal(i, 1278, 1363.483276, -1330.381836, 13.085953, 40, 50); // VAGO AddFlitsPaal(i, 1278, 1260.221436, -1144.856689, 23.203125, 40, 50); // VAGO AddFlitsPaal(i, 1278, 1136.905029, -1144.872192, 23.203125, 40, 50); // VAGO2 AddFlitsPaal(i, 1278, 850.989685, -1144.811401, 23.203125, 40, 50); // VAGO3 AddFlitsPaal(i, 1278, 1321.595947, -1400.469238, 12.867904, 40, 50); // VAGO4 AddFlitsPaal(i, 1278, 1252.426147, -1400.511963, 12.554832, 40, 50); // VAGO5 AddFlitsPaal(i, 1278, 1121.756714, -1400.513062, 12.957708, 40, 50); // VAGO6 AddFlitsPaal(i, 1278, 1008.723206, -1400.474365, 12.570202, 40, 50); // VAGO7 AddFlitsPaal(i, 1278, 909.299805, -1400.526001, 12.755013, 40, 50); // VAGO8 AddFlitsPaal(i, 1278, 758.733704, -1400.561768, 12.914063, 40, 50); // VAGO9 AddFlitsPaal(i, 1278, 1001.455505, -964.044434, 40.831264, 40, 50); // VAGO9 } } } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } IsPlayerInCircle(playerid,Float:x,Float:y,radius) { if(GetPlayerDistanceToPoint(playerid,Float:x,Float:y) < radius) { return 1; } return 0; } GetPlayerDistanceToPoint(playerid,Float:x,Float:y) { new Float:x1,Float:y1,Float:z1; GetPlayerPos(playerid,x1,y1,z1); new Float:tmpdis = floatsqroot(floatpower(floatabs(floatsub(x,x1)),2)+ floatpower(floatabs(floatsub(y,y1)),2)); return floatround(tmpdis); } stock AddFlitsPaal(playerid, modelid, Float:xx, Float:yy, Float:zz, radius, speed) { new fine[MAX_PLAYERS]; new str[256]; if(objectcreated!=maxobject) { CreateObject(modelid, xx, yy, zz, 0.0, 0.0, 10); objectcreated++; } if((distance1[playerid])>speed) { if(IsPlayerInCircle(playerid, xx, yy, radius) && GetPlayerState(playerid)== PLAYER_STATE_DRIVER) { fine[playerid]=((distance1[playerid]*17/10)-speed); GivePlayerMoney(playerid, -2000); format(str,sizeof(str), "[RADAR] Limita de viteza este de %d KM/H tu ai mers cu %d KM/H si ai luat amenda!",speed, distance1[playerid] ,fine[playerid]); SendClientMessage(playerid, VERDEFRACO, str); PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); } } } public OnPlayerCommandText(playerid, cmdtext[]) if (strcmp("/inforadar", cmdtext, true, 10) == 0) { SendClientMessage(playerid,0x33CCFFAA,"|____________INFO RADAR____________|"); SendClientMessage(playerid,0x33CCFFAA,"Sistemul radar este un sistem foarte performant si nu poate fi pacalit."); SendClientMessage(playerid,0x33CCFFAA,"Limite de viteza:"); SendClientMessage(playerid,0x33CCFFAA,"In localitate: 50 KM/H"); SendClientMessage(playerid,0x33CCFFAA,"In afara localitatii: 90 KM/H"); SendClientMessage(playerid,0x33CCFFAA,"Pe autostrada: 150 KM/H"); SendClientMessage(playerid,0x33CCFFAA,"Depasirea limitei se pedepseste cu o amenda de 2000$ "); return 1; } va rog ajutaima sa maresc viteza
  20. SaLiErY

    Intrebare

    serveru nu folosestepluginuri alte ideie
  21. SaLiErY

    Intrebare

    Am un Mod Care Merge Pe Windox merge la perfect iar cand vreu sa-l bag pe linux nu merge ma poate ajuta careva?
  22. As vrea sa fac un textdraw sa arete cat mai ai de stat in jail dar nu stiu daca mati putea ajuta as fi recunoscator
  23. poi daca mai ai Triungiurile alea galbene de intrare din jocu samp nu poti dar daca lai scos trebe s afaci dor o comanda de /enter /exit
  24. asea ceva nu cred ca este pe forum eu nu am asea ceva eu lag la fiecare casa alt interior
  25. stai ca nam inteles la ce te referi la interioru din sectia de politie de la lspd sau ce?
×
×
  • 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.