Jump to content

hopingsteam

Membru
  • Posts

    75
  • Joined

  • Last visited

    Never

Everything posted by hopingsteam

  1. Multumesc ! Daca aveti nelamuriri, postati reply aici si va ajut ! PS: Multumesc pentru 5/5 :D
  2. La fel mi se intampla si mie !
  3. Deci ai puse masinile pe ID'uri ? Daca DA, atunci intra in game si scrie [/dl], si notezi pe o foaie, ceva id-urile de la masini ! Apoi intri in Pawno si dai Ctrl+F si scri "Nu esti membru", dai de rotita pana ajungi la "Nu esti membru Tow Car" si corectezi id-urile ! Bafta!
  4. Defapt, erau puse alte imagini ! Eu am pus altele ! ! ! Da click pe link sa vezi post-ul original !
  5. Sursa http://forum.sa-mp.com -> Slice Am ales sa va prezint si voua cum lucrez eu in Pawno, folosing Notepad++ ! Puteti sa vedeti o parte din facilitatile Notepad++ (auto-complete) in poza de mai sus ! Pentru a putea folosi si voi Pawno in Notepad++ trebuie sa urmati cu atentie urmatorii pasi: 1. Downloadam Notepad++ de aici: http://notepad-plus-plus.org/ 2. Dupa ce l-am instalat intram in My Computer (Computer pentru Windows 7 / Vista) 3. Scriem in casuta de sus [img width=500 height=363]http://img827.imageshack.us/img827/9552/unledmqf.png 4. Downloadam userDefineLang.xml de aici: http://pastebin.com/x6UVk2i9 si il punem in folderul deshis la pasul 3 ! 5. Acum asociem extensiile .pwn cu Notepad++ ! Deschidem Notepad++ si intram in Settings > Preferences si selectam tab-ul "File Association" ! Mai departe dam click pe costumize (sub Suported exts) si apasam pe sageata , iar apoi pe Close ! 6. Acum vom avea nevoie de un fisier API pentru a putea sa utilizam functia auto-complete ! Downloadam PAWN.xml de aici: http://pastebin.com/1NTn6sAN si il punem in C:\Program Files\Notepad++\plugins\APIs (sau unde ati instalat voi programul) 7. Acum intram din nou in Settings > Preferences si selectam tab-ul Backup / Auto-Completiton ! Bifam tot la fel ca in imaginea de mai jos si schimbam cifra 1 cu cifra 3 (daca vrei sa vezi auto-complete instant, lasa cifra 1), apoi apasam pe Close ! [img width=500 height=293]http://img802.imageshack.us/img802/9123/unled3x.png 8. Pentru urmatorul pas avem nevoie de un plugin numit NppExec ! Intram in Plugins > Plugin > Show Plugin Manger ! Cautam NppExec si il bifam, apoi dam click pe Install ! Dupa install retartam programul ! 9. Acum (dupa ce am restartat programul) intram in Plugins > NppExec > Execute si scriem urmatoarea linie: [img width=500 height=292]http://img846.imageshack.us/img846/2451/unled4t.png D:\samp03\pawno\pawncc.exe - Schimbati cu locatia fisierului pawncc.exe din calculatorul dvs. Dam apoi click pe Save si scriem PAWN Compile, apoi dam click pe Save si OK ! 10. Acum intram din nou in Plugins > NppExec si bifam "No internal messages", dupa care dam click pe Advanced Obtions ! Selectam la Associated script: PAWN Compile si apasam pe Add/Modify apoi pe OK ! Acum restartam din nou Notepad++ [img width=500 height=291]http://img835.imageshack.us/img835/1108/unled5wr.png [img width=500 height=192]http://img339.imageshack.us/img339/6002/unled6p.png 11. Dupa restart-ul programului intram in Settings > Shortcut Mapper si selectam tab-ul Plugin commands ! Cautam Pawn Compile si selectam tastele pe care apasam pentru a converti in .amx (eu am slectat Shift+F7, voi selectati dupa bunul plac !) SFAT: Cautati PAWN Compile intre liniile 30 - 50 ! Apasam pe OK, apoi pe Close si GATA ! [img width=500 height=497]http://img545.imageshack.us/img545/3707/unled7s.png Sursa: sa-mp.com ! ! ! Eu doar am tradus si am mai pus explicatii + am adus noi poze ! PS: Am sters codul pe care il aveam scris in "spate" ! PS 2: Click pe imagini, ele se maresc !
  6. Ca sa nu deschid un alt topic, intreb aici: Cum pot sa fac o imagine care sa apara pe ecran la toti playerii jos in dreapta ? (Un fel de imagedraw)
  7. Liniile(14766 - 14996): [pawn] { if(dialogid == 4000) // Teleport Dialog { if(response) { if(listitem == 0) // HQ-uri { ShowPlayerDialog(playerid, 4001, DIALOG_STYLE_LIST, "HQ-uri", "Politia Romana\nArmata Romana\nServiciul Romana de Informatii\nS.M.U.R.D. \nClanul Spartax \nClanul Zenon \nPrimar \nHitman Agency \nNews Reporter \nTaxi Company \nSchool Instructor \nClanul Vamos \nClanul Arsox \nClanul Atenas \nClanul Poseidon \nRemorcari Auto \n Inapoi", "Select", "Cancel"); } if(listitem == 1) // Locuri Importante { ShowPlayerDialog(playerid, 4002, DIALOG_STYLE_LIST, "Locuri Importante", "LSPD \nCNN \nTransfender LS \nGara LS \nAero LS \nAero LV \nAero SF \nInapoi", "Select", "Cancel"); } if(listitem == 2) // Alte locatii { ShowPlayerDialog(playerid, 4003, DIALOG_STYLE_LIST, "Alte locatii", "Yard \nParcare Auto \nKart Place \nPoligon de tragere \nAdmin Zone \nChilliad \nPlaja LS \nFarmer \nTrucker \nMaterials Get \nMaterials Deliver \nInapoi", "Select", "Cancel"); } } return 1; } if(dialogid == 4001) // HQ-uri { if(response) { if(listitem == 0) // Politia Romana { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1642.3022,-2333.6287,13.5469); } if(listitem == 1) // Serviciul Romana de Informatii { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1382.6194,-888.5532,38.0863); } if(listitem == 2) // Armata Romana { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2485.2546,-1684.7223,13.5096); } if(listitem == 3) // S.M.U.R.D. { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 597.6629,-1241.3900,18.1275); } if(listitem == 4) // Clanul Spartax { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 491.7868,-1823.2258,5.5028); } if(listitem == 5) // Clanul Zenon { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2771.1060,-2417.5828,13.6405); } if(listitem == 6) // Primar { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 661.0361,-573.5891,16.3359); } if(listitem == 7) // Hitman Agency { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2269.6877,-75.0973,26.7724); } if(listitem == 8) // News Reporter { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 198.4328,-252.1696,1.5781); } if(listitem == 9) // Taxi Company { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 10) // School Instructor { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 11) // Clanul Vamos { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 12) // Clanul Arsox { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 13) // Clanul Atenas { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 14) // Clanul Poseidon { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 15) // Remorcari Auto { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 16) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Categorii de teleport", "HQ-uri\nLocuri Importante\nAlte locatii", "Select", "Cancel"); } } return 1; } if(dialogid == 4002) // Locuri Importante { if(response) { if(listitem == 0) // LSPD { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -1422.8820,-287.4992,14.1484); } if(listitem == 1) // CNN { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2672.6116,1268.4943,55.9456); } if(listitem == 2) // Transfender LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2305.6143,-1626.0594,483.7662); } if(listitem == 3) // Gara LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2026.2843,156.4974,29.0391); } if(listitem == 4) // Aero LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2159.3616,-407.8362,35.3359); } if(listitem == 5) // Aero LV { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2648.7498,14.2868,6.1328); } if(listitem == 6) // Aero SF { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2521.4055,-623.5245,132.7727); } if(listitem == 7) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } if(dialogid == 4003) // Alte locatii { if(response) { if(listitem == 0) // Yard { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1679.3361,1448.6248,10.7744); } if(listitem == 1) // Parcare Auto { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 95.7283,1920.3488,18.1163); } if(listitem == 2) // Kart Place { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2027.5721,1008.2877,10.8203); } if(listitem == 3) // Poligon de tragere { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2287.0313,2431.0276,10.8203); } if(listitem == 4) // Admin Zone { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2241.4238,2327.4290,4.9844); } if(listitem == 5) // Chilliad { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -670.6358,2306.0559,135.2990); } if(listitem == 6) // Plaja LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -761.5192,1552.1647,26.9609); } if(listitem == 7) // Farmer { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -143.5370,1217.8855,19.7352); } if(listitem == 8) // Trucker { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1099.1533,1384.3300,10.8203); } if(listitem == 9) // Materials Get { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1614.2190,2334.9338,10.8203); } if(listitem == 10) // Materials Deliver { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2572.6560,1818.1030,10.8203); } if(listitem == 11) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } return 0; } //============================================================================== if(dialogid == 2)[/pawn]
  8. Cand il faci FS stiu ca nu da erori, dar daca il bagi intr-un gamemode spune: D:\samp03\gamemodes\gf.pwn(14996) : warning 225: unreachable code Linia 14996: [pawn]if(dialogid == 2)[/pawn] Liniile 14994 - 14996: [pawn] //============================================================================== if(dialogid == 2)[/pawn] Liniile de la teleportul cu dialog (14766 - 14994): [pawn] { if(dialogid == 4000) // Teleport Dialog { if(response) { if(listitem == 0) // HQ-uri { ShowPlayerDialog(playerid, 4001, DIALOG_STYLE_LIST, "HQ-uri", "Politia Romana\nArmata Romana\nServiciul Romana de Informatii\nS.M.U.R.D. \nClanul Spartax \nClanul Zenon \nPrimar \nHitman Agency \nNews Reporter \nTaxi Company \nSchool Instructor \nClanul Vamos \nClanul Arsox \nClanul Atenas \nClanul Poseidon \nRemorcari Auto \n Inapoi", "Select", "Cancel"); } if(listitem == 1) // Locuri Importante { ShowPlayerDialog(playerid, 4002, DIALOG_STYLE_LIST, "Locuri Importante", "LSPD \nCNN \nTransfender LS \nGara LS \nAero LS \nAero LV \nAero SF \nInapoi", "Select", "Cancel"); } if(listitem == 2) // Alte locatii { ShowPlayerDialog(playerid, 4003, DIALOG_STYLE_LIST, "Alte locatii", "Yard \nParcare Auto \nKart Place \nPoligon de tragere \nAdmin Zone \nChilliad \nPlaja LS \nFarmer \nTrucker \nMaterials Get \nMaterials Deliver \nInapoi", "Select", "Cancel"); } } return 1; } if(dialogid == 4001) // HQ-uri { if(response) { if(listitem == 0) // Politia Romana { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1642.3022,-2333.6287,13.5469); } if(listitem == 1) // Serviciul Romana de Informatii { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1382.6194,-888.5532,38.0863); } if(listitem == 2) // Armata Romana { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2485.2546,-1684.7223,13.5096); } if(listitem == 3) // S.M.U.R.D. { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 597.6629,-1241.3900,18.1275); } if(listitem == 4) // Clanul Spartax { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 491.7868,-1823.2258,5.5028); } if(listitem == 5) // Clanul Zenon { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2771.1060,-2417.5828,13.6405); } if(listitem == 6) // Primar { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 661.0361,-573.5891,16.3359); } if(listitem == 7) // Hitman Agency { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2269.6877,-75.0973,26.7724); } if(listitem == 8) // News Reporter { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 198.4328,-252.1696,1.5781); } if(listitem == 9) // Taxi Company { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 10) // School Instructor { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 11) // Clanul Vamos { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 12) // Clanul Arsox { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 13) // Clanul Atenas { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 14) // Clanul Poseidon { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 15) // Remorcari Auto { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 16) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Categorii de teleport", "HQ-uri\nLocuri Importante\nAlte locatii", "Select", "Cancel"); } } return 1; } if(dialogid == 4002) // Locuri Importante { if(response) { if(listitem == 0) // LSPD { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -1422.8820,-287.4992,14.1484); } if(listitem == 1) // CNN { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2672.6116,1268.4943,55.9456); } if(listitem == 2) // Transfender LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2305.6143,-1626.0594,483.7662); } if(listitem == 3) // Gara LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2026.2843,156.4974,29.0391); } if(listitem == 4) // Aero LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2159.3616,-407.8362,35.3359); } if(listitem == 5) // Aero LV { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2648.7498,14.2868,6.1328); } if(listitem == 6) // Aero SF { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2521.4055,-623.5245,132.7727); } if(listitem == 7) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } if(dialogid == 4003) // Alte locatii { if(response) { if(listitem == 0) // Yard { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1679.3361,1448.6248,10.7744); } if(listitem == 1) // Parcare Auto { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 95.7283,1920.3488,18.1163); } if(listitem == 2) // Kart Place { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2027.5721,1008.2877,10.8203); } if(listitem == 3) // Poligon de tragere { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2287.0313,2431.0276,10.8203); } if(listitem == 4) // Admin Zone { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2241.4238,2327.4290,4.9844); } if(listitem == 5) // Chilliad { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -670.6358,2306.0559,135.2990); } if(listitem == 6) // Plaja LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -761.5192,1552.1647,26.9609); } if(listitem == 7) // Farmer { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -143.5370,1217.8855,19.7352); } if(listitem == 8) // Trucker { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1099.1533,1384.3300,10.8203); } if(listitem == 9) // Materials Get { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1614.2190,2334.9338,10.8203); } if(listitem == 10) // Materials Deliver { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2572.6560,1818.1030,10.8203); } if(listitem == 11) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } return 0; } [/pawn]
  9. [pawn]{ if(dialogid == 4000) // Teleport Dialog { if(response) { if(listitem == 0) // HQ-uri { ShowPlayerDialog(playerid, 4001, DIALOG_STYLE_LIST, "HQ-uri", "Politia Romana\nArmata Romana\nServiciul Romana de Informatii\nS.M.U.R.D. \nClanul Spartax \nClanul Zenon \nPrimar \nHitman Agency \nNews Reporter \nTaxi Company \nSchool Instructor \nClanul Vamos \nClanul Arsox \nClanul Atenas \nClanul Poseidon \nRemorcari Auto \n Inapoi", "Select", "Cancel"); } if(listitem == 1) // Locuri Importante { ShowPlayerDialog(playerid, 4002, DIALOG_STYLE_LIST, "Locuri Importante", "LSPD \nCNN \nTransfender LS \nGara LS \nAero LS \nAero LV \nAero SF \nInapoi", "Select", "Cancel"); } if(listitem == 2) // Alte locatii { ShowPlayerDialog(playerid, 4003, DIALOG_STYLE_LIST, "Alte locatii", "Yard \nParcare Auto \nKart Place \nPoligon de tragere \nAdmin Zone \nChilliad \nPlaja LS \nFarmer \nTrucker \nMaterials Get \nMaterials Deliver \nInapoi", "Select", "Cancel"); } } return 1; } if(dialogid == 4001) // HQ-uri { if(response) { if(listitem == 0) // Politia Romana { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1642.3022,-2333.6287,13.5469); } if(listitem == 1) // Serviciul Romana de Informatii { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1382.6194,-888.5532,38.0863); } if(listitem == 2) // Armata Romana { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2485.2546,-1684.7223,13.5096); } if(listitem == 3) // S.M.U.R.D. { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 597.6629,-1241.3900,18.1275); } if(listitem == 4) // Clanul Spartax { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 491.7868,-1823.2258,5.5028); } if(listitem == 5) // Clanul Zenon { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2771.1060,-2417.5828,13.6405); } if(listitem == 6) // Primar { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 661.0361,-573.5891,16.3359); } if(listitem == 7) // Hitman Agency { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2269.6877,-75.0973,26.7724); } if(listitem == 8) // News Reporter { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 198.4328,-252.1696,1.5781); } if(listitem == 9) // Taxi Company { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 10) // School Instructor { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 11) // Clanul Vamos { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 12) // Clanul Arsox { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 13) // Clanul Atenas { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 14) // Clanul Poseidon { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 15) // Remorcari Auto { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1242.2875,328.5506,19.7555); } if(listitem == 16) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Categorii de teleport", "HQ-uri\nLocuri Importante\nAlte locatii", "Select", "Cancel"); } } return 1; } if(dialogid == 4002) // Locuri Importante { if(response) { if(listitem == 0) // LSPD { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -1422.8820,-287.4992,14.1484); } if(listitem == 1) // CNN { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2672.6116,1268.4943,55.9456); } if(listitem == 2) // Transfender LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2305.6143,-1626.0594,483.7662); } if(listitem == 3) // Gara LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2026.2843,156.4974,29.0391); } if(listitem == 4) // Aero LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2159.3616,-407.8362,35.3359); } if(listitem == 5) // Aero LV { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2648.7498,14.2868,6.1328); } if(listitem == 6) // Aero SF { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2521.4055,-623.5245,132.7727); } if(listitem == 7) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } if(dialogid == 4003) // Alte locatii { if(response) { if(listitem == 0) // Yard { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1679.3361,1448.6248,10.7744); } if(listitem == 1) // Parcare Auto { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 95.7283,1920.3488,18.1163); } if(listitem == 2) // Kart Place { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2027.5721,1008.2877,10.8203); } if(listitem == 3) // Poligon de tragere { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2287.0313,2431.0276,10.8203); } if(listitem == 4) // Admin Zone { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -2241.4238,2327.4290,4.9844); } if(listitem == 5) // Chilliad { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -670.6358,2306.0559,135.2990); } if(listitem == 6) // Plaja LS { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -761.5192,1552.1647,26.9609); } if(listitem == 7) // Farmer { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, -143.5370,1217.8855,19.7352); } if(listitem == 8) // Trucker { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1099.1533,1384.3300,10.8203); } if(listitem == 9) // Materials Get { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 1614.2190,2334.9338,10.8203); } if(listitem == 10) // Materials Deliver { SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2572.6560,1818.1030,10.8203); } if(listitem == 11) // Inapoi { ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_LIST, "Teleport Categories", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } return 0; } [/pawn] Ce e gresit ? PS: Asta nu apartine de erori GodFather
  10. Serverul nu cunoaste personala din spatele tastaturii ca sa stie cine este cu adevarat admin sau nu, ori toti playerii sa se logheze, ori nici-unul ... sper ca intelegi ce vreau sa spun !
  11. Vin-o la Y!M: adata.rostreets ca sa-l pun in gamemode, nu stiu ce are :undecided:
  12. Deci, dupa ce am creat 100 si ceva de masini, primul id de la prima masina pers. era 500, iar ultimul id de la ultima masina era 600 si ceva ... dau restart si PAC ! Primul id de la prima masina este 1, iar cel de-al doilea id de la a 2-a masina este 100 si ceva + Preturile fiecarei masini erau de 0$ ! ! ! Cand cumpar una, o parchez o duce intr-un loc intre LS si LV, ma duc acolo, si nu e acolo .. Ma poti ajuta ?
  13. Deci am avut un prieten care juca pe server ... Vrea sa intre azi, baga parola si primeste crash ... La inceput am crezut ca e de la el ... dar am vazaut ca serverul meu are prb. ... Stiti ce ar putea cauza aceasta eroare ? PS: Doar la unii useri se intampla asta !
  14. M-am gandit sa va dau si voua comenzile create de mine (pt. ca m-ati ajutat cu multe erori ): Lista Comenzilor (voi mai da edit sa adaug!): [/reporters] & [/reporteri]: [pawn]if(strcmp(cmd, "/reporters", true) == 0 || strcmp(cmd, "/reporteri", true) == 0) { if(IsPlayerConnected(playerid)) { new count = 0; SendClientMessage(playerid, COLOR_YELLOW, "Reporteri Online:"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pMember] == 9 || PlayerInfo[pLeader] == 9) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "**[%d]%s | Rank: %d | Telefon: [%d]", i,sendername,PlayerInfo[pRank],PlayerInfo[pPnumber]); SendClientMessage(playerid, COLOR_WHITE, string); count++; } } } if(count == 0) { SendClientMessage(playerid,COLOR_LIGHTRED,"Nici un reporter online pe server"); SendClientMessage(playerid,0xCCD802AA, "[____________________________________]"); } } return 1; }[/pawn] Asta considerand ca id-ul factiunii News Reporter este 9 ! [/lisenser] & [/instructori]: [pawn]if(strcmp(cmd, "/licenser", true) == 0 || strcmp(cmd, "/instructori", true) == 0) { if(IsPlayerConnected(playerid)) { new count = 0; SendClientMessage(playerid, COLOR_YELLOW, "Instructori Online:"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pMember] == 11 || PlayerInfo[pLeader] == 11) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "**[%d]%s | Rank: %d | Telefon: [%d]", i,sendername,PlayerInfo[pRank],PlayerInfo[pPnumber]); SendClientMessage(playerid, COLOR_WHITE, string); count++; } } } if(count == 0) { SendClientMessage(playerid,COLOR_LIGHTRED,"Nici un instructor online pe server"); SendClientMessage(playerid,0xCCD802AA, "[____________________________________]"); } } return 1; }[/pawn] 11 - ID-ul factiunii School Instructor ! [/medics] & [/medici] [pawn]if(strcmp(cmd, "/medici", true) == 0 || strcmp(cmd, "/medics", true) == 0) { if(IsPlayerConnected(playerid)) { new count = 0; SendClientMessage(playerid, COLOR_YELLOW, "Medici Online:"); for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pMember] == 4 || PlayerInfo[pLeader] == 4) { GetPlayerName(i, sendername, sizeof(sendername)); format(string, 256, "**[%d]%s | Rank: %d | Telefon: [%d]", i,sendername,PlayerInfo[pRank],PlayerInfo[pPnumber]); SendClientMessage(playerid, COLOR_WHITE, string); count++; } } } if(count == 0) { SendClientMessage(playerid,COLOR_LIGHTRED,"Nici un medic online pe server"); SendClientMessage(playerid,0xCCD802AA, "[____________________________________]"); } } return 1; }[/pawn] 4 - ID-ul factiunii S.M.U.R.D. (sau Fireman/Paramedics, sau ce aveti voi)
  15. Downloadeaza mysql.inc si punel in folderul ServerulTau -> pawno -> include ! Download: Megaupload
  16. In acest script este un bug ..... Daca creezi o masina cu [/veh] este de vanzare + orice masina de la mafii (sultan, infernus, etc.) sunt de vanzare ... ai putea sa repari te rog ?
  17. Am reusit sa editez acest FS: http://pastebin.com/fd5xMs1Q ... dar apar urmatoarele warning-uri + bug-uri: Warnings: BUG-uri: -culoarea de la masina nu se salveaza -pozitia de la [/park] nu se salveaza -dupa ce dau [/restart] masinile ne-cumparate dispar, si raman numai cele cumparate -pot sa cumpar masini infinite (daca cumpar masina x, din pozitia y, si chem alt player in pozitia y, o poate cumpara) Sper sa ma ajutati :(
  18. Am luat un pachet de 40 de sloturi la 5 Euro de la Zonek ... am primit ip-ul de la server: 188.212.107.167:7777 ... dar vreau din cifre sa-l transform in litere ... adica sa scri doar asa as dori sa fie ... PS: Vreau ceva gratuit
  19. Deci fa asa: 1) Fa-ti cont pe server 2) Iesi de pe server 3) Deshide-ti fisierul cu NOTEPAD (cu WordPad iti da ban daca modifici) 4) Cauta AdminLevel = 0 5) Modifica si scrie AdminLevel = 1339 6) Salveaza-l si intra din nou in joc
  20. Am un server de SA:MP dar din pacate ruleaza pe Windows, si as vrea sa stiu cum as putea sa fac sa ruleze pe Linux ... caci pe Linux nu am executabilul (.exe) :(
  21. Arata-ne si noua cum ai ajuns la concluzia asta :tongue:
  22. Din moment ce ai server-ul mutat pe un host lag-ul dispare (cel putin asa ar fi normal) ... Eu momentan tin server-ul la mine pe un laptop, pana se aduna 10-15 playeri non-stop, atunci o sa ma mut si eu pe un host! PS: Metoda merge si pentru serverele de Counter-Strike PS 2: Ar trebui sa ai asistenta tehnica gratuita de la echipa la care ai tu host-ul daca inca ai lag maricel !
  23. Aceasta modalitate functioneaza numai pentru Windows XP, Vista si 7 ! 1. Click dreapta pe bara de start si selectati "Start Task Manager" 2. Avand server-ul pornit selectam din tab-ul "Applications" server-ul nostru si dam click dreapta pe el, apoi selectam "Go To Process" 3. Dam click dreapta pe "samp-server" (care este deja selectat de la pasul 2) si selectam "Set Priority", si alegem "Real Time" Aceasta metoda reduce lag-ul cu cca. 30-35% (am calculat) ! Daca aveti nelamuriri / errori care va apar va rog sa reveniti cu un reply !
  24. Tu te asculti ce spui ? ? ? Membrii S.I. sa conduca masinile de la HQ Taxi ... Daca tacea-i filozof ramaneai ! :afro: Deci revin la intrebare ... cum pot sa-mi dau seama la ce masina ii corespund cifrele de la
  25. Deci cand intru intr-un taxi (cand sunt civil) imi spune ca nu fac parte din School Instructor ... Cum pot sa repar ? :lipsrsealed: ... am cautat prin .pwn .... dar eu nu imi dau seama carei masini ii corespunde aceasta cifra ... ma puteti ajuta va rog ?
×
×
  • 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.