Jump to content

Lusky

Uživatel
  • Příspěvků

    139
  • Registrován

  • Aktivní

  • Vítězných dnů

    2

Everything posted by Lusky

  1. Zdravím. Vymením hru 7 Days to Die (Steam účet), spolu s hrou Rust za hru Minecraft (účet alebo kľúč). Pre viac informácii napíšte tu alebo na skype ebabecka.eu Nejedná sa o fake!
  2. Lusky

    pomoc error

    Chýba ti nejaký parameter, daj sem riadky 32 - 34.
  3. Lusky

    návod Banka [NEW]

    Tak to som si pomýlil s tvojím prvým návodom o banke. Neprečítal som si tému, moja chyba.
  4. Lusky

    návod Banka [NEW]

    Ten návod nie aj tak dobre spravený, zdá sa mi, že sa neukladajú peniaze v banke, takže to je zbytočné. Prečo by mal? Tu už dávno nikoho nezaujíma, že niekto oživí starú tému.
  5. Lusky

    pomoc Pomoc

    http://wesley.multitheftauto.com/mtasa/main/mtasa-1.4.exe
  6. Lusky

    pomoc Pomoc

    Tak použi editor, ktorý je zabudovaný v MTA. http://mtasa.com/ Na tejto stránke môžeš vytvorenú mapu konvertovať: http://convertffs.com/
  7. Lusky

    pomoc Pomoc

    Áno, presne to myslím.
  8. Lusky

    pomoc Pomoc

    Použiješ funkciu CreateObject(). Najlepšie by bolo, keby si použil editor máp, ktorý stiahneš na SA-MP fóre. Na tejto stránke máš celý kód, ktorý môžeš použiť ako vzor: http://wiki.sa-mp.com/wiki/MoveObject
  9. Lusky

    pomoc Pomoc

    Nemám. To čo som ti napísal ti postačí na začiatok. Skús niečo vytvoriť sám. Ak to nebude fungovať, daj sem kód.
  10. Lusky

    pomoc Pomoc

    http://wiki.sa-mp.com/wiki/CreateObject http://wiki.sa-mp.com/wiki/MoveObject
  11. Do OnGameModeInit() DisableInteriorEnterExits(); A v scripte namiesto SetPlayerInterior() používaj AC_BS_SetPlayerInterior(playerid, intid)
  12. A ty musíš písať zbytočne veci, ktoré sa netýkajú témy? Ako píše je jeho vec, ty mu máš len pomôcť. Možno má problémy s gramatikou. Skúsil si zmeniť ten riadok, čo som ti napísal? Keď meníš interiér hráča, meníš aj jeho pozíciu (teleportuješ ho)?
  13. Nie som si istý, ale skúsiť to môžeš: SetPVarFloat(playerid,"TeleportProtection", 0);
  14. Lusky

    pomoc Checkpoint

    Ten posledný parameter slúži na nastavenie šírky. Skús použiť SetPlayerRaceCheckpoint namiesto SetPlayerCheckpoint. Alebo skús zmeniť výšku checkpointu (SetPlayerCheckpoint(playerid, x, y, z = výška, size)).
  15. Lusky

    pomoc Checkpoint

    Zastavenie: http://wiki.sa-mp.com/wiki/SetVehicleVelocity http://wiki.sa-mp.com/wiki/TogglePlayerControllable a timer. Checkpoint: http://wiki.sa-mp.com/wiki/SetPlayerCheckpoint
  16. //Includes #include <a_samp> #include <zcmd> //New new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; new MyTimer[MAX_PLAYERS]; new Count=5; //Defines #define COLOR_RED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA //etc... forward killtimer(playerid); //Scripting public killtimer(playerid) { Count--; if(Count == 0) { SendClientMessage(playerid, COLOR_RED, "Sebevrazda byla uspesna!"); SetPlayerHealth(playerid, 0); KillTimer(MyTimer[playerid]); Count = 5; return 1; } new string[128]; format(string, sizeof(string), "Zemres za: %d", Count); SendClientMessage(playerid, COLOR_YELLOW, string); return 1; } CMD:kill(playerid, params[]) { Textdraw0 = TextDrawCreate(157.500000, 162.655532, "usebox"); TextDrawLetterSize(Textdraw0, 0.000000, 5.036418); TextDrawTextSize(Textdraw0, 15.000000, 0.000000); TextDrawAlignment(Textdraw0, 1); TextDrawColor(Textdraw0, 0); TextDrawUseBox(Textdraw0, true); TextDrawBoxColor(Textdraw0, 102); TextDrawSetShadow(Textdraw0, 0); TextDrawSetOutline(Textdraw0, 0); TextDrawFont(Textdraw0, 0); Textdraw1 = TextDrawCreate(19.500000, 162.399978, "Sebevrazda bude"); TextDrawLetterSize(Textdraw1, 0.449999, 1.600000); TextDrawAlignment(Textdraw1, 1); TextDrawColor(Textdraw1, -1); TextDrawSetShadow(Textdraw1, 0); TextDrawSetOutline(Textdraw1, 1); TextDrawBackgroundColor(Textdraw1, 51); TextDrawFont(Textdraw1, 1); TextDrawSetProportional(Textdraw1, 1); Textdraw2 = TextDrawCreate(19.500000, 177.333328, "spachana za 5"); TextDrawLetterSize(Textdraw2, 0.449999, 1.600000); TextDrawAlignment(Textdraw2, 1); TextDrawColor(Textdraw2, -1); TextDrawSetShadow(Textdraw2, 0); TextDrawSetOutline(Textdraw2, 1); TextDrawBackgroundColor(Textdraw2, 51); TextDrawFont(Textdraw2, 1); TextDrawSetProportional(Textdraw2, 1); Textdraw3 = TextDrawCreate(19.500000, 192.888885, "vterin."); TextDrawLetterSize(Textdraw3, 0.449999, 1.600000); TextDrawAlignment(Textdraw3, 1); TextDrawColor(Textdraw3, -1); TextDrawSetShadow(Textdraw3, 0); TextDrawSetOutline(Textdraw3, 1); TextDrawBackgroundColor(Textdraw3, 51); TextDrawFont(Textdraw3, 1); TextDrawSetProportional(Textdraw3, 1); TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); SendClientMessage(playerid, COLOR_YELLOW, "Zemres za 5 vterin."); KillTimer(MyTimer[playerid]); MyTimer[playerid] = SetTimerEx("killtimer", 1000, 1, "i", playerid); GameTextForPlayer(playerid, "~w~Umiras!", 5000, 4); return 1; } public OnPlayerDeath(playerid, killerid, reason) { TextDrawHideForPlayer(playerid, Textdraw0); TextDrawHideForPlayer(playerid, Textdraw1); TextDrawHideForPlayer(playerid, Textdraw2); TextDrawHideForPlayer(playerid, Textdraw3); return 1; }
  17. Škoda, že nemám San Andreas, vedel by som ti lepšie pomôcť. Urobil som všetko, čo bolo v mojich silách :/ Skús sa popýtať na SA-MP fóre.
  18. 3. parameter, čiže tá 0 za 'staveniste'. SetPlayerObjectMaterial(playerid, staveniste, 0, 11340, "hub_sfse", "Grass_128HV", 0);
  19. Nič ma nenapadá. Kód vyzerá dobre. Jedna vec, ktorá môže byť vadná je parameter funkcie "materialindex". Neviem ako to vysvetliť, ale niektoré objekty sú zložene z viacerých "vrstiev". Napríklad nejaká budova je zložená z dverí, okien a stien. Skús zmeniť tento parameter.
  20. Pre jedného hráča musíš použiť SetTimerEx(...)
  21. Skús dať to, čo máš v OnPlayerConnect (okrem RemoveBuildingForPlayer(...)) do OnPlayerSpawn. Ak to nepôjde, skús použiť normálne CreateObject namiesto CreatePlayerObject (ale daj to do OnGameModeInit). TIP: Namiesto deklarovania staveniste tri krát, použi staveniste[3];
  22. Pravdepodobne nemáš nainštalovaný potrebný plugin/include, alebo je zastaralý a potrebuješ novú verziu.
  23. Otázka: To je v San Fierru alebo si robíš nejaké nové mesto?
  24. Musíš najprv odstrániť pôvodný objekt, nahradiť ho a až potom zmeniť textúru. Mimochodom, čo je zlé na tom kóde? Nefunguje, alebo to nie je presne to, čo si chcel?
  25. Lusky

    pomoc FIFA 2014

    Je mi to ľúto, ale warez tu je zakázaný. Poviem ti len to, že to stiahneš cez uTorrent z asi najlepšiej stránky pre torrenty.
×
×
  • Create New...