Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/10/2020 in all areas

  1. andreiusq

    Servicii CSGO

    +rep, prea bun
    1 point
  2. LucaPawnL

    Servicii CSGO

    +rep
    1 point
  3. Nu valoreaza mai mult de 25e ruleta aia
    1 point
  4. SmoKey

    Servicii CSGO

    +rep + Recomand!
    1 point
  5. FutureAdv

    Servicii CSGO

    +rep recomand
    1 point
  6. Lasă-mi aici funcția: IsACop(playerid)
    -1 points
  7. Modifică: new car = GetPlayerVehicleID(playerid); if(vehicle >= 130 && vehicle <= 135) { if(GetPVarInt(playerid, "InLesson") == -1) return SCM(playerid, COLOR_GREY, "Nu ai o lectie activa!"), SlapPlayer(playerid); } if(vehicleFvsFaction[car] == 1 || vehicleFvsFaction[car] == 2 || vehicleFvsFaction[car] == 3) { if(!IsACop(playerid)) { SCM(playerid, -1, "Nu faci parte din aceasta factiune."); SlapPlayer(playerid); } else if(vehicleFvsRank[car] > PlayerInfo[playerid][pRank]) { format(string, sizeof(string), "Ai nevoie de rank %d pentru a lua acest vehicul.", vehicleFvsRank[car]); SCM(playerid, COLOR_GREY, string); SlapPlayer(playerid); } else if(OnDuty[playerid] == 0 && IsACop(playerid) && PlayerInfo[playerid][pMember] == 7 && PlayerInfo[playerid][pMember] == 8 && PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pMember] == 13) { SCM(playerid, COLOR_LGREEN, "Nu poti folosi vehiculele factiunii daca nu esti la datorie!"); SlapPlayer(playerid); return 1; } } else if(vehicleFvsFaction[car] != PlayerInfo[playerid][pMember] && vehicleFvsFaction[car] != 0) { SCM(playerid, -1, "Nu faci parte din aceasta factiune."); SlapPlayer(playerid); } else { if(OnDuty[playerid] == 0 && IsACop(playerid) && Copcar2(car)) { SCM(playerid, COLOR_LGREEN, "Nu poti folosi vehiculele factiunii daca nu esti la datorie!"); SlapPlayer(playerid); return 1; } if(vehicleFvsRank[car] > PlayerInfo[playerid][pRank]) { format(string, sizeof(string), "Ai nevoie de rank %d pentru a lua acest vehicul.", vehicleFvsRank[car]); SCM(playerid, COLOR_GREY, string); SlapPlayer(playerid); } } Cu: new car = GetPlayerVehicleID(playerid); if(vehicle >= 130 && vehicle <= 135) { if(GetPVarInt(playerid, "InLesson") == -1) return SCM(playerid, COLOR_GREY, "Nu ai o lectie activa!"), SlapPlayer(playerid); } if(vehicleFvsFaction[vehicle] == 1 || vehicleFvsFaction[vehicle] == 2 || vehicleFvsFaction[vehicle] == 3) { if(!IsACop(playerid)) { SCM(playerid, -1, "Nu faci parte din aceasta factiune."); SlapPlayer(playerid); } else if(vehicleFvsRank[car] > PlayerInfo[playerid][pRank]) { format(string, sizeof(string), "Ai nevoie de rank %d pentru a lua acest vehicul.", vehicleFvsRank[car]); SCM(playerid, COLOR_GREY, string); SlapPlayer(playerid); } else if(OnDuty[playerid] == 0 && IsACop(playerid) && PlayerInfo[playerid][pMember] == 7 && PlayerInfo[playerid][pMember] == 8 && PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pMember] == 13) { SCM(playerid, COLOR_LGREEN, "Nu poti folosi vehiculele factiunii daca nu esti la datorie!"); SlapPlayer(playerid); return 1; } } else if(vehicleFvsFaction[car] != PlayerInfo[playerid][pMember] && vehicleFvsFaction[car] != 0) { SCM(playerid, -1, "Nu faci parte din aceasta factiune."); SlapPlayer(playerid); } else { if(OnDuty[playerid] == 0 && IsACop(playerid) && Copcar2(car)) { SCM(playerid, COLOR_LGREEN, "Nu poti folosi vehiculele factiunii daca nu esti la datorie!"); SlapPlayer(playerid); return 1; } if(vehicleFvsRank[car] > PlayerInfo[playerid][pRank]) { format(string, sizeof(string), "Ai nevoie de rank %d pentru a lua acest vehicul.", vehicleFvsRank[car]); SCM(playerid, COLOR_GREY, string); SlapPlayer(playerid); } }
    -1 points
  8. Haide să modificăm acea verificare pe Cop. Modifică codul selectat de tine cu: p.s: este pe moment pentru a verifică dacă e de la funcția respectivă new car = GetPlayerVehicleID(playerid); if(vehicle >= 130 && vehicle <= 135) { if(GetPVarInt(playerid, "InLesson") == -1) return SCM(playerid, COLOR_GREY, "Nu ai o lectie activa!"), SlapPlayer(playerid); } if(vehicleFvsFaction[vehicle] == 1 || vehicleFvsFaction[vehicle] == 2 || vehicleFvsFaction[vehicle] == 3) { if(PlayerInfo[playerid][pMember] == 0) { SCM(playerid, -1, "Nu faci parte din aceasta factiune."); SlapPlayer(playerid); } else if(vehicleFvsRank[car] > PlayerInfo[playerid][pRank]) { format(string, sizeof(string), "Ai nevoie de rank %d pentru a lua acest vehicul.", vehicleFvsRank[car]); SCM(playerid, COLOR_GREY, string); SlapPlayer(playerid); } else if(OnDuty[playerid] == 0 && IsACop(playerid) && PlayerInfo[playerid][pMember] == 7 && PlayerInfo[playerid][pMember] == 8 && PlayerInfo[playerid][pMember] == 12 && PlayerInfo[playerid][pMember] == 13) { SCM(playerid, COLOR_LGREEN, "Nu poti folosi vehiculele factiunii daca nu esti la datorie!"); SlapPlayer(playerid); return 1; } } else if(vehicleFvsFaction[car] != PlayerInfo[playerid][pMember] && vehicleFvsFaction[car] != 0) { SCM(playerid, -1, "Nu faci parte din aceasta factiune."); SlapPlayer(playerid); } else { if(OnDuty[playerid] == 0 && IsACop(playerid) && Copcar2(car)) { SCM(playerid, COLOR_LGREEN, "Nu poti folosi vehiculele factiunii daca nu esti la datorie!"); SlapPlayer(playerid); return 1; } if(vehicleFvsRank[car] > PlayerInfo[playerid][pRank]) { format(string, sizeof(string), "Ai nevoie de rank %d pentru a lua acest vehicul.", vehicleFvsRank[car]); SCM(playerid, COLOR_GREY, string); SlapPlayer(playerid); } }
    -1 points
  9. Reinhardt

    Recrutez scripter

    Mai e valabil?*gratuit
    -1 points
  10. Am început să lucrez la un proiect de la zero, aș vrea cât mai multe idei și cât mai complexe, mai exact ce ați vrea să fie pe un server, jobs, sisteme, ș.a.m.d. Dau +1 pentru cele mai șmechere idei
    -1 points
This leaderboard is set to Bucharest/GMT+02:00
×
×
  • Create New...