Jump to content

Alcag

Uživatel
  • Příspěvků

    23
  • Registrován

  • Aktivní

Reputace

0 Na nule
  1. Dobrý den jak udělám zaměstnání například řidič kamionu ? nějaký systém aby šlo přidat více prací a když se bude chtít hráč zaměstnat šel by na pickup a dal by třeba Alt a šel by do určeného vozidla a dal /mise ? hledal sem už všude nic jsem nenašel
  2. Alcag

    návod Zamestnanie

    Jak takhle udělám povolání zdravotník ?
  3. Čau chtěl bych se zeptat na pár otázek. Když si pc aktulizuju z W7 na W10 tak se mi smažou všechny soubory ? Nebude se mi Windows 10 lagovat ? http://www.img.tpx.cz/uploads/omgwindows10br.PN <parametry pc
  4. Napíše to do chatu normalně že se všechny prázdné vozidla respawly ale nerespawnou se
  5. Dobry den nevite nekdo co stim je ? if(strcmp(cmd, "/vehdespawn", true) == 0 || strcmp(cmd, "/vhs", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 3) { SendClientMessage(playerid, COLOR_GRAD1, " Nemlžeš použít tento příkaz!"); return 1; } new bool:unwanted[CAR_AMOUNT]; for(new player=0; player<MAX_PLAYERS; player++) { if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; } } for(new car = 1; car <= 268; car++) { if(!unwanted[car]) SetVehicleToRespawn(car); } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "SERVER: "COL_WHITE"Všechny prázdné vozidla byly respawnuté Administrátorem: %s.", sendername); SendClientMessageToAll(COLOR_YELLOW,string); } return 1; }
  6. Dobrý den jak udělat aby na serveru ve virtual wordu 2 byla xxx mapa a ve virtual wordu 1 taky xxx mapa. a ve virtual wordu 3 yyy mapa
  7. Čus lidi mam od QWERA filterscript house system a property system v property systemu se mi nějak bugujou ty nemovitosti když jí koupim je ten text takovej překrytej je to například 4 nemovitost co se mvytvořil a má id 68 vytvořil sem 7 nemovitostí CreateProperty(1, 204.9428,-233.8270,1.7786, 2500);// CreateProperty(0, 94.1990,-164.6924,2.5938, 2050);// CreateProperty(4, 251.8244,-53.9757,1.5776, 2050);// CreateProperty(4, 1028.4189,522.1864,20.4016, 2500);// CreateProperty(5, 1341.4786,282.0591,19.5615, 2500);// CreateProperty(6, 1927.9114,172.6124,37.2813, 2050);// CreateProperty(9, 2280.0000,-73.2604,26.5275, 2050);// a ve scriptfiles mám 69 textových dokumentů a v house systemu když si koupím 1 dům najednou mi patřej všechny domy na serveru.
  8. Alcag

    pomoc Errory

    Dobrý den nevím v čem je chyba tady kod: #include <a_samp> #define DIALOGID 1337 #define COLOR_GREY 0xAFAFAFAA #define COLOR_RED 0xA10000AA public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/gps", cmdtext, true, 10) == 0) { if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, ".:[ GPS System ]:.", "Zaměstnání\nOstatní\n.", "Vybrat", "Zpet"); } else { DisablePlayerCheckpoint(playerid); SendClientMessage(playerid, COLOR_GREY, "» GPS system funguje pouze ve vozidlech!"); } return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOGID) { if(response) { if(listitem == 0) // Los Santos { ShowPlayerDialog(playerid, DIALOGID+1, DIALOG_STYLE_LIST, "GPS - Zaměstnání", "test\nBrigáda Jimmy\nTaxi\nAutobusák\nLos Aztecas\nDoktor\nReportér\nSWAT\nSBS\nItalská mafie\nMechanik\nUklízecí služba\nHasič\nBallas\nVagos\nGrove\nRuská mafie\nDrogová mafie\nHitman\nVoják\nYakuza\nŠerif", "Navigovat", "Zpet"); } if(listitem == 1) // San Fierro { ShowPlayerDialog(playerid, DIALOGID+2, DIALOG_STYLE_LIST, "GPS - Ostatní", "Electro", "Select", "Cancel"); } if(listitem == 2) // Las Venturas { ShowPlayerDialog(playerid, DIALOGID+3, DIALOG_STYLE_LIST, "", "ruska\nPirate Ship\nPolice Dept\nRock Hotel\nAuto Bahn\nFire Dept\nCity Hall\nHospital\nAirport\nSchool\nDocks\nMall\nFBI\nBack", "Select", "Cancel"); } } return 1; } if(dialogid == DIALOGID+1) // Los Santos { if(response) { if(listitem == 0) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1359.0553,-1856.5925,13.5469, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Electro"); } if(listitem == 1) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2121.9905,-1780.9143,13.3890, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Brigáda "); } if(listitem == 2) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2154.0022,-1808.0396,13.5478, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Taxi"); } if(listitem == 3) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2136.4521,-1904.6447,13.5469, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Autobusák"); } if(listitem == 4) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2261.7314,-1904.7903,14.9375, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Los Aztecas"); } if(listitem == 5) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1174.2129,-1323.4203,14.9922, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Doktor"); } if(listitem == 6) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 735.3260,-1336.9111,13.5351, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Reportér"); } if(listitem == 7) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1275.3079,-1663.9806,19.7344, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ SWAT"); } if(listitem == 8) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1342.5239,-1675.6682,17.7266, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ SBS"); } if(listitem == 9) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2191.1899,-2262.8396,13.5368, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Italská mafie"); } if(listitem == 10) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 967.6129,-1255.5421,16.9638, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Mechanik"); } if(listitem == 11) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1576.0829,-1479.9080,14.2110, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Uklízecí služba"); } if(listitem == 12) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1741.1187,-1455.8730,13.5268, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Hasič"); } if(listitem == 13) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2457.8293,-1390.1906,23.9777, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Ballas"); } if(listitem == 14) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2679.4695,-1404.0569,30.4807, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Vagos"); } if(listitem == 15) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1359.0553,-1856.5925,13.5469, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Grove"); } if(listitem == 16) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1643.1689453125,1385.2122802734,7.1796875, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Ruská mafie"); } if(listitem == 17) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1687.8872070313,-18.303468704224,3.5546875, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Drogová mafie"); } if(listitem == 18) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1831.054,-1108.974,23.9, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Hitman); } if(listitem == 19) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 285.164,2002.722,17.64, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Voják); } if(listitem == 20) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2172.7509765625,680.07299804688,55.162162780762, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Yakuza); } if(listitem == 21) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2333.949,51.892,26.484, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Šerif); } if(listitem == 21) { DisablePlayerCheckpoint(playerid); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, ".:[ GPS System ]:.", "Zaměstnání\nOstatní\nLas Venturas", "Select", "Cancel"); } } return 1; } if(dialogid == DIALOGID+2) // San Fierro { if(response) { if(listitem == 0) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1359.0553,-1856.5925,13.5469, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LS ~ Electro"); } if(listitem == 1) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2026.7440,-94.3292,35.1641, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ License Center"); } if(listitem == 2) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1986.2491,138.1498,27.6875, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Train Station"); } if(listitem == 3) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1631.5974,1198.5522,7.1875, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Otto's Autos"); } if(listitem == 4) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1605.8099,723.1791,12.0236, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Police Dept"); } if(listitem == 5) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2025.4030,67.1354,28.4671, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Fire Dept"); } if(listitem == 6) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1977.9059,288.3777,35.1719, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Wang Cars"); } if(listitem == 7) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2442.6270,748.2835,35.1719, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Supa Save"); } if(listitem == 8) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2755.3293,375.1659,4.3360, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ City Hall"); } if(listitem == 9) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2655.1523,632.2845,14.4531, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Hospital"); } if(listitem == 10) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1420.8574,-296.7662,14.1484, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Airport"); } if(listitem == 11) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -1520.0027,920.7176,7.1875, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ Bank"); } if(listitem == 12) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, -2444.8899,487.0674,30.0742, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: SF ~ FBI"); } if(listitem == 13) { DisablePlayerCheckpoint(playerid); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, ".:[ GPS System ]:.", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } if(dialogid == DIALOGID+3) // Las Venturas { if(response) { if(listitem == 0) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2036.5930,1007.7439,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Four Dragons"); } if(listitem == 1) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2036.4658,1545.3075,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Pirate Ship"); } if(listitem == 2) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2289.5500,2418.9866,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Police Department"); } if(listitem == 3) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2631.8552,2349.7903,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Rock Hotel"); } if(listitem == 4) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2171.0364,1411.2937,11.0625, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Auto Bahn"); } if(listitem == 5) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1779.4283,2059.1326,10.9766, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Fire Department"); } if(listitem == 6) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2421.2566,1123.7965,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ City Hall"); } if(listitem == 7) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1607.2969,1822.4591,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Hospital"); } if(listitem == 8) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1709.1046,1453.6711,10.8168, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Airport"); } if(listitem == 9) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 1024.2366,1148.6658,10.7588, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ School"); } if(listitem == 10) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2295.1616,626.0677,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Docks"); } if(listitem == 11) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2913.5112,2396.2637,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ Mall"); } if(listitem == 12) { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid, 2433.5288,2376.6196,10.8203, 3.0); SendClientMessage(playerid, COLOR_RED, "» Pozice: LV ~ FBI"); } if(listitem == 13) { DisablePlayerCheckpoint(playerid); ShowPlayerDialog(playerid, DIALOGID, DIALOG_STYLE_LIST, ".:[ GPS System ]:.", "Los Santos\nSan Fierro\nLas Venturas", "Select", "Cancel"); } } return 1; } return 0; } public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == 2) { SendClientMessage(playerid, COLOR_GREY, "» Použij /gps pro otevření navigace"); } return 1; } public OnPlayerEnterCheckpoint(playerid) { SendClientMessage(playerid, COLOR_RED, "» Jste v cíli."); DisablePlayerCheckpoint(playerid); return 1; } ERRORY: C:\Users\Alcag\Downloads\GPS (1).pwn(166) : error 037: invalid string (possibly non-terminated string) C:\Users\Alcag\Downloads\GPS (1).pwn(166) : error 029: invalid expression, assumed zero C:\Users\Alcag\Downloads\GPS (1).pwn(166) : error 017: undefined symbol "LS" C:\Users\Alcag\Downloads\GPS (1).pwn(166) : fatal error 107: too many error messages on one line
  9. WOW!!! Jak to stihnete přeložit do pondělí to na tom děláte od rána do večera ste borci !!!!! PS:ironie
  10. Alcag

    hledám Pawnera/mappera

    Zadarmo ani sliepka nehraba.
  11. Alcag

    pomoc CP

    Dobrý den mám příkaz např. /jizda a aby kdyz to hrac napise s jakym koliv vozidlem aby mu to napsalo že na tuto jizdu potrebujete RoadTrain a aby to slo spustit jen roadtrainem.
  12. Alcag

    pomoc /bug

    Furt stejnej error Nechceš to hodit sem ? do čistýho ?
  13. Alcag

    pomoc /bug

    new total_vehicles_from_files=0; new bool:login[MAX_PLAYERS]; new CP[MAX_PLAYERS]; new DIALOG_WELCOME; new DIALOG_BUG; new CP1[MAX_PLAYERS]; new str[256]; new File:file; if(!fexist("bugs.txt")) fcreate("bugs.txt"); file=fopen("bugs.txt",io_append); format(str,sizeof(str),"Hrac: %s Duvod: %s\r\n",PlayerName(playerid),inputtext); fwrite(file,str); fclose(file); dcmd_bug(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_BUG, DIALOG_STYLE_INPUT, "Nahlášení bugu", "Zde napiště bug:", "Nahlásit", "Zpět"); return 1; }
×
×
  • Create New...