[Pitanje] Nece da compile
Results 1 to 8 of 8

Thread: Nece da compile

  1. #1
    Senior Member Array
    Join Date
    Jan 2016
    Location
    Posusje Bosna i Hercegovina
    Age
    21
    Karma
    0

    Default Nece da compile

    https://pastebin.com/70ujzBvc

    Moze mi neko pomoc, da kaze samo sta da uradim ili da pomogne do kraja. Ne znam zasto mi nece da kompiluje plugin


    AMX Mod X Compiler 1.8.3-manual
    Copyright (c) 1997-2006 ITB CompuPhase
    Copyright (c) 2004-2013 AMX Mod X Team

    Modified for www.Freakz.ro / amx.freakz.ro

    zp_addon_knifes.sma(1) : error 010: invalid function or declaration
    include_183/fun.inc(47) : error 017: undefined symbol "kRenderFxNone"
    include_183/fun.inc(70) : error 070: rational number support was not enabled
    include_183/fun.inc(76) : error 070: rational number support was not enabled
    include_183/fakemeta.inc(548) : error 070: rational number support was not enabled
    include_183/ham_const.inc(1859) : warning 200: symbol "Ham_DOD_Weapon_PlayerIsWaterSni" is truncated to 31 characters
    include_183/ham_const.inc(2628) : warning 200: symbol "Ham_ESF_Weapon_HolsterWhenMelee" is truncated to 31 characters
    include_183/ham_const.inc(2697) : warning 200: symbol "Ham_NS_EffectivePlayerClassChan" is truncated to 31 characters
    include_183/ham_const.inc(2802) : warning 200: symbol "Ham_NS_Weapon_GetWeaponPrimeTim" is truncated to 31 characters
    include_183/ham_const.inc(2826) : warning 200: symbol "Ham_NS_Weapon_GetIsWeaponPrimin" is truncated to 31 characters
    include_183/ham_const.inc(3271) : warning 200: symbol "Ham_SC_CheckAndApplyGenericAtta" is truncated to 31 characters
    include_183/ham_const.inc(3320) : warning 200: symbol "Ham_SC_Player_MenuInputPerforme" is truncated to 31 characters
    include_183/ham_const.inc(3416) : warning 200: symbol "Ham_SC_Player_TimeToStartNextVo" is truncated to 31 characters
    include_183/ham_const.inc(3448) : warning 200: symbol "Ham_SC_Player_DisableCollisionW" is truncated to 31 characters
    include_183/ham_const.inc(3456) : warning 200: symbol "Ham_SC_Player_EnableCollisionWi" is truncated to 31 characters
    include_183/ham_const.inc(3530) : warning 200: symbol "Ham_SC_Weapon_PrecacheCustomMod" is truncated to 31 characters
    include_183/ham_const.inc(3631) : warning 200: symbol "Ham_TFC_Weapon_GetNextAttackDel" is truncated to 31 characters
    include_183/ham_const.inc(3699) : warning 200: symbol "Ham_OPF_MySquadTalkMonsterPoint" is truncated to 31 characters
    include_183/hamsandwich.inc(407) : error 017: undefined symbol "get_func_id"
    include_183/hamsandwich.inc(410) : error 017: undefined symbol "callfunc_begin_i"
    include_183/hamsandwich.inc(412) : error 017: undefined symbol "callfunc_push_int"
    include_183/hamsandwich.inc(413) : error 017: undefined symbol "callfunc_push_int"
    include_183/hamsandwich.inc(414) : error 017: undefined symbol "callfunc_push_str"
    include_183/hamsandwich.inc(415) : error 017: undefined symbol "callfunc_end"
    include_183/hamsandwich.inc(422) : error 017: undefined symbol "set_fail_state"
    zp_addon_knifes.sma(144) : error 017: undefined symbol "register_plugin"
    zp_addon_knifes.sma(145) : error 017: undefined symbol "register_cvar"
    zp_addon_knifes.sma(145) : error 088: number of arguments does not match definition
    zp_addon_knifes.sma(147) : error 017: undefined symbol "menu_create"
    zp_addon_knifes.sma(148) : error 017: undefined symbol "menu_create"
    zp_addon_knifes.sma(150) : error 017: undefined symbol "register_clcmd"
    zp_addon_knifes.sma(150) : warning 215: expression has no effect
    zp_addon_knifes.sma(150) : error 001: expected token: ";", but found ")"
    zp_addon_knifes.sma(150) : error 029: invalid expression, assumed zero
    zp_addon_knifes.sma(150) : fatal error 107: too many error messages on one line

    Compilation aborted.
    21 Errors.
    Done.

  2. #2
    Senior Member Array
    Join Date
    Aug 2013
    Age
    22
    Karma
    8

    Default

    Zato sto koristis 1.8.3 kompajler, prebaci se na 1.8.1 kompajler i radice ti savrseno.
    https://amx.freakz.ro/?v=1.8.1

  3. #3
    Senior Member Array
    Join Date
    Jan 2016
    Location
    Posusje Bosna i Hercegovina
    Age
    21
    Karma
    0

    Default

    Nece opet brate

  4. #4
    Senior Member Array
    Join Date
    Aug 2013
    Age
    22
    Karma
    8

    Default

    Ne znam kako tebi nece kad ga ja uspesno kompajlam
    http://prntscr.com/l2gjiq tvoj .sma sam probao

  5. #5
    Super Moderator Array klipica's Avatar
    Join Date
    Apr 2010
    Karma
    29

    Default

    Meni izgleda kao pokusavas kompajlovati kod bez prve linije (#include <amxmodx>). Svejedno, nemoj koristiti online kompajlere.

    Also, taj kod je tako uzasan.
    Code:
    #YoMama {
        width: 200%;
        overflow: visible;
    }

  6. #6
    Senior Member Array
    Join Date
    Jan 2016
    Location
    Posusje Bosna i Hercegovina
    Age
    21
    Karma
    0

    Default

    Meni nece da ga compile nikako bgm, ako moze neko od vas samo da ga compile, bio bih zahvala, hvala unaprijed.

    Užasan, na koji način mozes mi u kratkim crticama reci ?

    EDIT: Uspio sam hvala klipi i tebi garnom znam da bi upload

    Klipi mozes mi objasniti zasto je kod los ?
    Last edited by Skubishaa; 05-10-2018 at 13:47.

  7. #7
    Senior Member Array
    Join Date
    Jun 2015
    Location
    Belgrade
    Karma
    8

    Default

    Quote Originally Posted by Skubishaa View Post

    Klipi mozes mi objasniti zasto je kod los ?
    Jedna stvar koju sam ja primetio: Mnogo copy paste koda, sve je to moglo sa loopovima da se skrati dosta
    Inace,
    Code:
     register_clcmd("/knife","knifemenu",ADMIN_ALL,"knife_menu")
    Verovatno si mislio "say /knife" ?

  8. #8
    Senior Member Array
    Join Date
    Aug 2013
    Location
    Forbidden Forest
    Karma
    9

    Default

    Koliko je dugacak kod igra najmanju ulogu. Ima brda stvari koje mogu da se naprave bolje kao na primer umesto promenljiva1.... treba se napraviti niz/matrica (zavisi sta je porebno). U sustini svuda gde imas vise stvari koje su skoro identicne, verovatnoca je da to moze booje da se napravi.
    Pomoc oko plugina, TS3-a, discord-a mozete dobiti samo u vidu objasnjenja.
    P.S. Nemojte smarati/hejtovati obzirom da to niko ne voli a ja licno cu samo da vas kuliram.
    P.P.S. Nemojte pitati stvari na PM vec otvori temu.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •