Jump to content

EquiNoxAdv

V.I.P
  • Posts

    720
  • Joined

  • Last visited

  • Days Won

    36

Everything posted by EquiNoxAdv

  1. Arata-mi linia 1--2
  2. Back in Business <3

  3. Lasa te rog OnPlayerText.
  4. ProxDetectorS este solutia pentru tine. Am sa-ti las mai jos comanda. Sper ca ti-am fost de ajutor. forward ProxDetectorS(Float:radi, playerid, targetid); public ProxDetectorS(Float:radi, playerid, targetid) { if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid)) { new Float:posx, Float:posy, Float:posz; new Float:oldposx, Float:oldposy, Float:oldposz; new Float:tempposx, Float:tempposy, Float:tempposz; GetPlayerPos(playerid, oldposx, oldposy, oldposz); GetPlayerPos(targetid, posx, posy, posz); tempposx = (oldposx -posx); tempposy = (oldposy -posy); tempposz = (oldposz -posz); if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi))) { return 1; } } return 0; } //---------------------- Comanda ------------------------// CMD:givegunrange(playerid, params[]) { new range, gunid; if(sscanf(params, "ii", range, gunid)) return SendClientMessage(playerid, -1, "Syntax: /givegunrange [range] [gunid]"); if(playerVariables[playerid][pAdminLevel] >= 2) { format(szMessage, sizeof(szMessage), "Administrator %s gave gun %d to everyone in his range.", playerVariables[playerid][pNormalName], gunid); foreach(Player, i) { if(ProxDetectorS(range, playerid, i)) { givePlayerValidWeapon(i, gunid); SendClientMessage(i, -1, szMessage); } } } return 1; }
  5. Nu este erroare ci Warning. Cauta new GetPointDistanceToPointExMorph // ceva de genu si sterge.
  6. Am inteles , sterge ce ti-am zis sa adaugi si arata-mi liniile 8045 -- 8046
  7. Stiu GameMode-ul , adauga new pForumName[MAX_PLAYERS]; si compileaza.
  8. EquiNoxAdv

    AdmBot

    Nu se cer scripturi!
  9. ​Data viitoare te rog eu sa incerci ceva. Poftim aici http://pastebin.com/hBKk5ant << Asta iti trebuie
  10. Fai update la 0.3.7 (http://www.sa-mp.ro/descarcare.php)
  11. Primu videoclip , interviul 9 , minutu 1.24 sunt eu , mai incolo era @WopsS si @Mafia. adormise.
  12. Credeam ca ii ceva despre extraterestrii , nu despre Romania.
  13. ​Cumperi Host din Russia si iti faci server in Romania? Glumesti , nu? O sa fie un lag enorm. In fine , recomand cu caldura ZeroPing sau Tarffichost
  14. Verifica daca mai intai mai este baza de date. Apoi verifica daca cei de la TakeHost nu ti-au schimbat anumite date. (User & Pass)
  15. Respecta Modelul! Topic Closed!
  16. ​Nu , nu stai sa bagi 300 boti cu RakSamp. Crede-ma , sunt NPC-uri din FileScrip cu nu stiu ce Plugin. Parca RNPC. In fine , treaba lor
  17. Fuck Steam , Fuck Gaming , Fuck Life <3 :3
  18. EquiNoxAdv

    Salut

    ​Download XAMMP , porneste server-ul apache si MySQL , (Opreste Skype inainte) , te duci frumos in browser si scri localhost/phpmyadmin , creezi o baza de date , pui acolo database de la GameMode , intri in GM , si faci asa #define SQL_HOST "localhost" #define SQL_USER "root" #define SQL_PASS "" #define SQL_DB "Numele DB-ului" Done , compilezi , dai un restart la server , in SA-MP adaugi server-ul , localhost:7777 si gata. Intri pe server.
  19. Poti sa ne arati comanda? :-?
  20. CMD:skill(playerid,params[]) { if(gPlayerLogged[playerid] == 0) { if(IsPlayerConnected(playerid)) { SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi mai intai."); return 1; } new x_nr[19],string[256]; if(sscanf(params, "s[5]",x_nr)) { SendClientMessage(playerid, COLOR_DS, "__________________ Skill Info __________________"); SendClientMessage(playerid, COLOR_DS, "{B8DBFF}Synthax: /skill <Type Skill ID>"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(1)Lawyer"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(2)Whore"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(3)Drugs Dealer"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(4)News Reporter "); SendClientMessage(playerid, COLOR_DS, "{FFD633}(5)Car Mechanic"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(6)Arms Dealer"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(7)Fishing"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(8)Rob"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(9)Muncitor in Cariera"); return 1; } else if(strcmp(x_nr,"1",true) == 0)//Lawyer { new level = PlayerInfo[playerid][pLawSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 5."); } } else if(strcmp(x_nr,"2",true) == 0)//Whore { new level = PlayerInfo[playerid][pSexSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 5."); } } else if(strcmp(x_nr,"3",true) == 0)//Drugs Dealer { new level = PlayerInfo[playerid][pDrugsSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 5."); } } else if(strcmp(x_nr,"4",true) == 0)//News Reporter { new level = PlayerInfo[playerid][pNewsSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to use /news %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to use /news %d times people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to use /news %d times people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to use /news %d times people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 5."); } } else if(strcmp(x_nr,"5",true) == 0)//Car Mechanic { new level = PlayerInfo[playerid][pMechSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 5."); } } else if(strcmp(x_nr,"6",true) == 0)//pMatSkill { new level = PlayerInfo[playerid][pMatSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 5."); } } else if(strcmp(x_nr,"7",true) == 0)//Fishing { new level = PlayerInfo[playerid][pFishSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 5."); } } else if(strcmp(x_nr,"8",true) == 0)//Robbing { new level = PlayerInfo[playerid][pRobSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 250) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 251 && level <= 500) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 501 && level <= 999) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 1000) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 5."); } } else if(strcmp(x_nr,"9",true) == 0)//Muncitor { new level = PlayerInfo[playerid][pMuncitorSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 1."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 2 .", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 2."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 3 .", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 3."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 4 .", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 4."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 5.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 5."); } } else return SendClientMessage(playerid, COLOR_DS, "{999999}Invalid parameter."); } return 1; }Acum?
  21. CMD:skill(playerid,params[]) { if(IsPlayerConnected(playerid)) { if(gPlayerLogged[playerid] == 0) { SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi mai intai."); return 1; } new x_nr[19],string[256]; if(sscanf(params, "s[5]",x_nr)) { SendClientMessage(playerid, COLOR_DS, "__________________ Skill Info __________________"); SendClientMessage(playerid, COLOR_DS, "{B8DBFF}Synthax: /skill <Type Skill ID>"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(1)Lawyer"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(2)Whore"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(3)Drugs Dealer"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(4)News Reporter "); SendClientMessage(playerid, COLOR_DS, "{FFD633}(5)Car Mechanic"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(6)Arms Dealer"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(7)Fishing"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(8)Rob"); SendClientMessage(playerid, COLOR_DS, "{FFD633}(9)Muncitor in Cariera"); return 1; } else if(strcmp(x_nr,"1",true) == 0)//Lawyer { new level = PlayerInfo[playerid][pLawSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to free %d more people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Lawyer Skill level is 5."); } } else if(strcmp(x_nr,"2",true) == 0)//Whore { new level = PlayerInfo[playerid][pSexSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to have sex %d times more to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Whore Skill level is 5."); } } else if(strcmp(x_nr,"3",true) == 0)//Drugs Dealer { new level = PlayerInfo[playerid][pDrugsSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to sell drugs %d times more to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Drugs Dealer Skill level is 5."); } } else if(strcmp(x_nr,"4",true) == 0)//News Reporter { new level = PlayerInfo[playerid][pNewsSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to use /news %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to use /news %d times people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to use /news %d times people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to use /news %d times people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your News Reporter Skill level is 5."); } } else if(strcmp(x_nr,"5",true) == 0)//Car Mechanic { new level = PlayerInfo[playerid][pMechSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to fix/fill a car for %d times people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Car Mechanic Skill level is 5."); } } else if(strcmp(x_nr,"6",true) == 0)//pMatSkill { new level = PlayerInfo[playerid][pMatSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times more to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times people to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times people to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to deliver materials for %d times people to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Arms Dealer Skill level is 5."); } } else if(strcmp(x_nr,"7",true) == 0)//Fishing { new level = PlayerInfo[playerid][pFishSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to Fish %d more Fishes to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Fishing Skill level is 5."); } } else if(strcmp(x_nr,"8",true) == 0)//Robbing { new level = PlayerInfo[playerid][pRobSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 1."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 250) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 2."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 251 && level <= 500) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 3."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 501 && level <= 999) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 4."); format(string, sizeof(string), "{FFD633}You need to Rob the City Bank %d more times to Level up.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 1000) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Your Rob Skill level is 5."); } } else if(strcmp(x_nr,"9",true) == 0)//Muncitor { new level = PlayerInfo[playerid][pMuncitorSkill]; if(level >= 0 && level <= 50) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 1."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 2 .", 50 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 51 && level <= 100) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 2."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 3 .", 100 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 101 && level <= 200) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 3."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 4 .", 200 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 201 && level <= 400) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 4."); format(string, sizeof(string), "{FFD633}Mai fa %d curse pentru a trece la skill 5.", 400 - level); SendClientMessage(playerid, COLOR_DS, string); } else if(level >= 401) { SendClientMessage(playerid, COLOR_DS, "{FFD633}Skill 5."); } } else return SendClientMessage(playerid, COLOR_DS, "{999999}Invalid parameter."); } return 1; }Incearca asa
  22. Destul de frumos. Mai trebuie modificat nitel <3
×
×
  • 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.