Jump to content

Adel

Membru
  • Posts

    79
  • Joined

  • Last visited

Posts posted by Adel

  1. Acum 10 ore, Banditul a spus:

    Macar trimite-l intreg 

    
    Loading plugin: mysql.so

    Asta ar trebui sa aibe o continuare daca a fost incarcat sau nu


    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [10:03:37] filterscripts = ""  (string)
    [10:03:37] weburl = "www.sa-mp.com"  (string)
    [10:03:37] 
    [10:03:37] Server Plugins
    [10:03:37] --------------
    [10:03:37]  Loading plugin: mysql.so
    [10:03:37]  >> plugin.mysql: R39-2 successfully loaded.
    [10:03:37]   Loaded.
    [10:03:37]  Loading plugin: crashdetect.so
    [10:03:37]   CrashDetect v4.15.1 is OK.
    [10:03:37]   Loaded.
    [10:03:37]  Loading plugin: sscanf.so
    [10:03:37] 

    [10:03:37]  ===============================

    [10:03:37]       sscanf plugin loaded.     

    [10:03:37]          Version:  2.8.1        

    [10:03:37]    (c) 2012 Alex "Y_Less" Cole  

    [10:03:37]  ===============================

    [10:03:37]   Loaded.
    [10:03:37]  Loading plugin: streamer.so
    [10:03:37] 

    *** Streamer Plugin v2.9.3 by Incognito loaded ***

    [10:03:37]   Loaded.
    [10:03:37]  Loading plugin: timerfix.so
    [10:03:37]   >> TimerFix v1.5 successfully loaded.
    [10:03:37]   Loaded.
    [10:03:37]  Loading plugin: MapAndreas.so
    [10:03:37]   Loaded.
    [10:03:37]  Loading plugin: timerfix.so
    [10:03:37]   >> TimerFix v1.5 successfully loaded.
    [10:03:37]   Loaded.
    [10:03:37]  Loaded 7 plugins.

    [10:03:37] 
    [10:03:37] Filterscripts
    [10:03:37] ---------------
    [10:03:37]   Loaded 0 filterscripts.

    [10:03:38] [debug] Run time error 19: "File or function is not found"
    [10:03:38] [debug]  cache_get_value_name_int
    [10:03:38] [debug]  cache_get_value_name
    [10:03:38] [debug]  cache_get_value_name_float
    [10:03:38] [debug] Run time error 19: "File or function is not found"
    [10:03:38] [debug]  cache_get_value_name_int
    [10:03:38] [debug]  cache_get_value_name
    [10:03:38] [debug]  cache_get_value_name_float
    [10:03:38] Script[gamemodes/rpg.amx]: Run time error 19: "File or function is not found"
    [10:03:38] Number of vehicle models: 0
     

  2. Acum 17 minute, Banditul a spus:

    Si serverlog? Sau mysqlog? Ai fi impresionat de faptul ca logurile spun povesti interesante

    uite ce da acm in sv log


    [23:57:22] *** Streamer Plugin: Include file version (0x293) does not match plugin version (0x294) (script might need to be recompiled with the correct include file).
    [23:57:22] [debug] Run time error 19: "File or function is not found"
    [23:57:22] [debug]  cache_get_row_count
    [23:57:22] [debug]  mysql_connect
    [23:57:22] [debug]  mysql_errno
    [23:57:22] [debug]  mysql_query
    [23:57:22] [debug]  mysql_pquery
    [23:57:22] [debug]  mysql_escape_string
    [23:57:22] [debug]  mysql_format
    [23:57:22] [debug]  mysql_tquery
    [23:57:22] [debug]  cache_get_value_name_int
    [23:57:22] [debug]  cache_delete
    [23:57:22] [debug]  cache_get_value_name
    [23:57:22] [debug]  cache_get_field_count
    [23:57:22] [debug]  cache_get_value_name_float
    [23:57:22] [debug]  mysql_unprocessed_queries
    [23:57:22] [debug]  cache_insert_id
    [23:57:22] [debug]  mysql_close
    [23:57:22] [debug] Run time error 19: "File or function is not found"
    [23:57:22] [debug]  cache_get_row_count
    [23:57:22] [debug]  mysql_connect
    [23:57:22] [debug]  mysql_errno
    [23:57:22] [debug]  mysql_query
    [23:57:22] [debug]  mysql_pquery
    [23:57:22] [debug]  mysql_escape_string
    [23:57:22] [debug]  mysql_format
    [23:57:22] [debug]  mysql_tquery
    [23:57:22] [debug]  cache_get_value_name_int
    [23:57:22] [debug]  cache_delete
    [23:57:22] [debug]  cache_get_value_name
    [23:57:22] [debug]  cache_get_field_count
    [23:57:22] [debug]  cache_get_value_name_float
    [23:57:22] [debug]  mysql_unprocessed_queries
    [23:57:22] [debug]  cache_insert_id
    [23:57:22] [debug]  mysql_close
    [23:57:22] Script[gamemodes/rpg.amx]: Run time error 19: "File or function is not found"
    [23:57:22] Number of vehicle models: 0

     fac acm cum am facut pe localhost ca aceiasi prob am  avut

     

  3. Buna seara

    Am un gamemode care este pe modules este versiunea r41

    am pus tot in filezila pluginuri gamemodeul , fisieru modules  

    in sv cfg am trecut pluginurile cu .so

    dar gm-ul da unkoman nush dc.. 

    pe localhost merge perfect..

    gm-ul este acesta : 

    ma puteti ajuta?

  4. Acum 1 oră, Stefan Mentosana a spus:

    Baiatul a mentionat "ruleaza pe ultima versiune de mysql r41-4", documenteaza-te cu ce ai nevoie pentru a rula un server cu r41-4.

    de ce am nevoie? nu gasesc pe internet poti lasa link?

  5. E o problemă la gm?

    Pe localhost merge să îl pun dar pe host nu merge

    Am pus in sv cfg pluginurile .so e gm ul bagat in gamemodes

    Baza e bagată pluginurile sunt bune la ultima versiune

    Stie cineva? 

  6. Acum 20 minute, Banditul a spus:

    In primul rand incearca sa nu folosesti .dll pe windows, e default si e posibil sa afecteze. In al doilea rand nu ai nevoie de mysql-static,dll. In ultimul rand verifica daca ai libmysql.dll in folderu unde e si server-samp.exe si incearca sa folosesti r39-6 pentru ca are mai multe fixuri si e compatibil cu r39-2 (cel mai probaibl)

    am rezolvat frt tb update la versiune mysql r41 ti-am dat si tie un +1 mai ajutat cu .dll cer t/c

  7. Acum 6 minute, Banditul a spus:

    In primul rand incearca sa nu folosesti .dll pe windows, e default si e posibil sa afecteze. In al doilea rand nu ai nevoie de mysql-static,dll. In ultimul rand verifica daca ai libmysql.dll in folderu unde e si server-samp.exe si incearca sa folosesti r39-6 pentru ca are mai multe fixuri si e compatibil cu r39-2 (cel mai probaibl)

    fara .dll

     

    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [12:11:16] filterscripts = ""  (string)
    [12:11:16] weburl = "www.sa-mp.com"  (string)
    [12:11:16] 
    [12:11:16] Server Plugins
    [12:11:16] --------------
    [12:11:16]  Loading plugin: mysql
    [12:11:16]  >> plugin.mysql: R39-2 successfully loaded.
    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: crashdetect
    [12:11:16]   CrashDetect v4.15.1 is OK.
    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: sscanf
    [12:11:16] 

    [12:11:16]  ===============================

    [12:11:16]       sscanf plugin loaded.     

    [12:11:16]          Version:  2.8.1        

    [12:11:16]    (c) 2012 Alex "Y_Less" Cole  

    [12:11:16]  ===============================

    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: streamer
    [12:11:16] 

    *** Streamer Plugin v2.7.8 by Incognito loaded ***

    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: MapAndreas
    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: timerfix
    [12:11:16]   >> TimerFix v1.5 successfully loaded.
    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: ColAndreas
    [12:11:16] *********************
    [12:11:16] ** Created By:     **
    [12:11:16] ** [uL]Chris42O    **
    [12:11:16] ** [uL]Slice       **
    [12:11:16] ** [uL]Pottus      **
    [12:11:16] *********************
    [12:11:16] No collision data found.
    [12:11:16] *********************
    [12:11:16]   ColAndreas Loaded
    [12:11:16]    v1.3.0
    [12:11:16] *********************
    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: profiler
    [12:11:16]   Profiler v2.12.1 is OK.
    [12:11:16]   Loaded.
    [12:11:16]  Loading plugin: pawn-memory
    [12:11:16] ========================
    [12:11:16] = Memory access plugin =
    [12:11:16] =       Made by BigETI =
    [12:11:16] = Loaded!              =
    [12:11:16] ========================
    [12:11:16]   Loaded.
    [12:11:16]  Loaded 9 plugins.

    [12:11:17] 
    [12:11:17] Filterscripts
    [12:11:17] ---------------
    [12:11:17]   Loaded 0 filterscripts.

    [12:11:19] [debug] Run time error 19: "File or function is not found"
    [12:11:19] [debug]  cache_get_value_name_int
    [12:11:19] [debug]  cache_get_value_name
    [12:11:19] [debug]  cache_get_value_name_float
    [12:11:19] [debug] Run time error 19: "File or function is not found"
    [12:11:19] [debug]  cache_get_value_name_int
    [12:11:19] [debug]  cache_get_value_name
    [12:11:19] [debug]  cache_get_value_name_float
    [12:11:19] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
    [12:11:19] Number of vehicle models: 0
    [12:11:20] [debug] Run time error 19: "File or function is not found"
    [12:11:20] [debug]  cache_get_value_name_int
    [12:11:20] [debug]  cache_get_value_name
    [12:11:20] [debug]  cache_get_value_name_float
    [12:11:20] [debug] Run time error 19: "File or function is not found"
    [12:11:20] [debug]  cache_get_value_name_int
    [12:11:20] [debug]  cache_get_value_name
    [12:11:20] [debug]  cache_get_value_name_float
    [12:11:20] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
    [12:11:20] Number of vehicle models: 0
     

  8. Acum 3 minute, Banditul a spus:

    In primul rand incearca sa nu folosesti .dll pe windows, e default si e posibil sa afecteze. In al doilea rand nu ai nevoie de mysql-static,dll. In ultimul rand verifica daca ai libmysql.dll in folderu unde e si server-samp.exe si incearca sa folosesti r39-6 pentru ca are mai multe fixuri si e compatibil cu r39-2 (cel mai probaibl)

    salut,

     

    echo Executing Server Config...
    lanmode 1
    rcon_password testeg
    maxplayers 200
    port 7777
    hostname RO-RPG RPG | TEST Server [0.3.7]
    gamemode0 gamemode 1
    plugins mysql crashdetect sscanf streamer MapAndreas timerfix ColAndreas  profiler.dll pawn-memory
    filterscripts
    announce 0
    query 1
    chatlogging 0
    weburl 
    onfoot_rate 40
    incar_rate 40
    weapon_rate 40
    stream_distance 200.0
    stream_rate 1000
    maxnpc 0
    logtimeformat [%H:%M:%S]

    si am libarty.dll

  9. Buna ziua am o problema la gamemode gm-ul este pe modules dau sa pornesc sa-mp server si da eroare asta :

    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [04:16:40] filterscripts = ""  (string)
    [04:16:40] weburl = "www.sa-mp.com"  (string)
    [04:16:40] 
    [04:16:40] Server Plugins
    [04:16:40] --------------
    [04:16:40]  Loading plugin: mysql.dll
    [04:16:40]  >> plugin.mysql: R39-2 successfully loaded.
    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: crashdetect.dll
    [04:16:40]   CrashDetect v4.15.1 is OK.
    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: sscanf.dll
    [04:16:40] 

    [04:16:40]  ===============================

    [04:16:40]       sscanf plugin loaded.     

    [04:16:40]          Version:  2.8.1        

    [04:16:40]    (c) 2012 Alex "Y_Less" Cole  

    [04:16:40]  ===============================

    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: streamer.dll
    [04:16:40] 

    *** Streamer Plugin v2.7.8 by Incognito loaded ***

    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: MapAndreas.dll
    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: timerfix.dll
    [04:16:40]   >> TimerFix v1.5 successfully loaded.
    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: ColAndreas.dll
    [04:16:40] *********************
    [04:16:40] ** Created By:     **
    [04:16:40] ** [uL]Chris42O    **
    [04:16:40] ** [uL]Slice       **
    [04:16:40] ** [uL]Pottus      **
    [04:16:40] *********************
    [04:16:40] No collision data found.
    [04:16:40] *********************
    [04:16:40]   ColAndreas Loaded
    [04:16:40]    v1.3.0
    [04:16:40] *********************
    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: mysql_static.dll
    [04:16:40]   Failed.
    [04:16:40]  Loading plugin: profiler.dll
    [04:16:40]   Profiler v2.12.1 is OK.
    [04:16:40]   Loaded.
    [04:16:40]  Loading plugin: pawn-memory.dll
    [04:16:40] ========================
    [04:16:40] = Memory access plugin =
    [04:16:40] =       Made by BigETI =
    [04:16:40] = Loaded!              =
    [04:16:40] ========================
    [04:16:40]   Loaded.
    [04:16:40]  Loaded 9 plugins.

    [04:16:41] 
    [04:16:41] Filterscripts
    [04:16:41] ---------------
    [04:16:41]   Loaded 0 filterscripts.

    [04:16:43] [debug] Run time error 19: "File or function is not found"
    [04:16:43] [debug]  cache_get_value_name_int
    [04:16:43] [debug]  cache_get_value_name
    [04:16:43] [debug]  cache_get_value_name_float
    [04:16:43] [debug] Run time error 19: "File or function is not found"
    [04:16:43] [debug]  cache_get_value_name_int
    [04:16:43] [debug]  cache_get_value_name
    [04:16:43] [debug]  cache_get_value_name_float
    [04:16:43] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
    [04:16:43] Number of vehicle models: 0


    e bagata si baza de date buna 
    am facut update la toate pluginurile nus ce are poate stiti voi.

  10. SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [04:02:19] filterscripts = ""  (string)
    [04:02:19] weburl = "www.sa-mp.com"  (string)
    [04:02:19] 
    [04:02:19] Server Plugins
    [04:02:19] --------------
    [04:02:19]  Loading plugin: mysql.dll
    [04:02:19]  >> plugin.mysql: R39-2 successfully loaded.
    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: crashdetect.dll
    [04:02:19]   CrashDetect v4.15.1 is OK.
    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: sscanf.dll
    [04:02:19] 

    [04:02:19]  ===============================

    [04:02:19]       sscanf plugin loaded.     

    [04:02:19]          Version:  2.8.1        

    [04:02:19]    (c) 2012 Alex "Y_Less" Cole  

    [04:02:19]  ===============================

    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: streamer.dll
    [04:02:19] 

    *** Streamer Plugin v2.7.8 by Incognito loaded ***

    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: MapAndreas.dll
    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: timerfix.dll
    [04:02:19]   >> TimerFix v1.5 successfully loaded.
    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: ColAndreas.dll
    [04:02:19] *********************
    [04:02:19] ** Created By:     **
    [04:02:19] ** [uL]Chris42O    **
    [04:02:19] ** [uL]Slice       **
    [04:02:19] ** [uL]Pottus      **
    [04:02:19] *********************
    [04:02:19] No collision data found.
    [04:02:19] *********************
    [04:02:19]   ColAndreas Loaded
    [04:02:19]    v1.3.0
    [04:02:19] *********************
    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: mysql_static.dll
    [04:02:19]   Failed.
    [04:02:19]  Loading plugin: profiler.dll
    [04:02:19]   Profiler v2.12.1 is OK.
    [04:02:19]   Loaded.
    [04:02:19]  Loading plugin: pawn-memory.dll
    [04:02:19] ========================
    [04:02:19] = Memory access plugin =
    [04:02:19] =       Made by BigETI =
    [04:02:19] = Loaded!              =
    [04:02:19] ========================
    [04:02:19]   Loaded.
    [04:02:19]  Loaded 9 plugins.

    [04:02:19] 
    [04:02:19] Filterscripts
    [04:02:19] ---------------
    [04:02:19]   Loaded 0 filterscripts.

    [04:02:22] [debug] Run time error 19: "File or function is not found"
    [04:02:22] [debug]  cache_get_value_name_int
    [04:02:22] [debug]  cache_get_value_name
    [04:02:22] [debug]  cache_get_value_name_float
    [04:02:22] [debug] Run time error 19: "File or function is not found"
    [04:02:22] [debug]  cache_get_value_name_int
    [04:02:22] [debug]  cache_get_value_name
    [04:02:22] [debug]  cache_get_value_name_float
    [04:02:22] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
    [04:02:22] Number of vehicle models: 0
     

    ce trebuie sa fac ca sa mearga ? am facut update la plugins si e lafel

     

    am facut update la streamer si e tot asa

  11. 1 oră în urmă, PawnFox a spus:

     

    
    D:\\gmm.pwn(25) : error 017: undefined symbol "PlayerInfo"

     

     

    Asta inseamna ca nu e definit PlayerInfo ....

    Ar trebui sa ai un enumerator:

     

    
    	enum PlayerInfo 
    	{
    	pXYZ,
    	pYZX,
    	pXZY
    	};
    	new pData [ MAX_PLAYERS ] [ PlayerInfo];
    	

     

    Lafel frate....

  12. Acum 16 minute, PawnFox a spus:

    Daca ai putea sa ne arati linia 25.

    Sintaxa pentru YCMD este YCMD:bonus ( playerid, params[], help ) nu YCMD:bonus ( playerid, params[] ) cum zicea Alexx.

     

    YCMD:bonus ( playerid, params[], help )
    {
      LINIA 25  if(PlayerInfo[playerid][pScore] > 1) return SendClientMessage(playerid, COLOR_DARKGRAY, "Ai primit deja bonusul de bun venit.");
        pInfo[playerid][pScore] += 1, SetPlayerScore(playerid, pInfo[playerid][pScore]), pInfo[playerid][pPremium] = gtm+(10*86400);
        GiveMoney(playerid, 10000000),pInfo[playerid][pSpinGift] += 2, format(stmsg[playerid], 166, "* Felicitari %s, ai primit cadou 10.000.000$ si Cont Premium valabil 10 zile.", GetName(playerid)),
        SendClientMessage(playerid, COLOR_LIGHTBLUE, stmsg[playerid]);
        switch(random(5))
        {
            case 0:
            {
                pInfo[playerid][aVar][34] = 411;
                for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip Infernus, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");
            }
            case 1:
            {
                pInfo[playerid][aVar][34] = 541;
                for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip Bullet, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");
            }
            case 2:
            {
                pInfo[playerid][aVar][34] = 560;
                for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip Sultan, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");
            }
            case 3:
            {
                pInfo[playerid][aVar][34] = 559;
                for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip Jester, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");
            }
            case 4:
            {
                pInfo[playerid][aVar][34] = 415;
                for(new r = 0; r < 15; ++r) if(Veh[playerid][r][Owner] != pInfo[playerid][pID]) return strmid(Veh[playerid][r][Class], "Free", 0, strlen("Free"), 16), VehExORM(r, playerid),
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Ai primit vehiculul de tip Cheetah, acceseaza-ti vehiculul prin comanda /v. Vehiculul va fi disponibil pana la nivel 5.");
            }
        }
        return 1;
    }

  13. Acum 24 minute, AlexxAdv a spus:

    Pai in primul rand folosesti YCMD si tu ai YCMD:bonus(playerid, params[]) cand trebui sa ai YCMD:bonus(playerid, params[], help) si in loc de pInfo incearca sa modifici in PlayerInfo

    problema este de la aceasta linie:

    if(pInfo[playerid][pScore] > 1) return SendClientMessage(playerid, COLOR_DARKGRAY, "Ai primit deja bonusul de bun venit.");

     

     

  14. Acum 19 minute, AlexxAdv a spus:

    Pai in primul rand folosesti YCMD si tu ai YCMD:bonus(playerid, params[]) cand trebui sa ai YCMD:bonus(playerid, params[], help) si in loc de pInfo incearca sa modifici in PlayerInfo

    Am facut tot ce ai spus si arata asa:

    D:\\gmm.pwn(23) : warning 202: number of arguments does not match definition
    D:\\gmm.pwn(25) : error 017: undefined symbol "PlayerInfo"
    D:\\gmm.pwn(25) : warning 215: expression has no effect
    D:\\gmm.pwn(25) : error 001: expected token: ";", but found "]"
    D:\gmm.pwn(25) : error 029: invalid expression, assumed zero
    D:\\gmm.pwn(25) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.

    Cam aceleasi erori Alex.
     

  15. Acum 2 ore, Flaviu11 a spus:
    1. CMD:giftbox(playerid, params[])
    2. {
    3.     if(IsPlayerConnected(playerid))
    4.     {
    5.         if(PlayerInfo[playerid][pAdmin] >= 6)
    6.         {
    7.             if(IsPlayerInAnyVehicle(playerid)) return 1;
    8.             new Float:A;
    9.             GetPlayerFacingAngle(playerid, A);
    10.             if(GiftBoxActiv < 1)
    11.             {
    12.                 giftboxobject = CreateDynamicObject(19054, GiftPosX,GiftPosY,GiftPosZ - 0.4, 0.0, 0.0, A);
    13.                 giftbox3DText = CreateStreamed3DTextLabel("EVILZONE Giftbox\nUse /getgift to get a gift",0xA9C4E4CC,GiftPosX,GiftPosY,GiftPosZ+0.25,8.0,0);
    14.                 SS(playerid, COLOR_YELLOW, "Ai activat sistemul de Gift Box!", "The Gift Box system was activated!");
    15.                 GiftBoxActiv = 1;
    16.             }
    17.             else
    18.             {
    19.                 DestroyDynamicObject(giftboxobject);
    20.                 DestroyDynamic3DTextLabel(giftbox3DText);
    21.                 SS(playerid, COLOR_YELLOW, "Ai dezactivat sistemul de Gift Box!", "The Gift Box system was dezactivated!");
    22.                 GiftBoxActiv = 0;
    23.             }
    24.         }
    25.         else
    26.         {
    27.             SendClientMessage(playerid, COLOR_DARKNICERED, AdminOnly);
    28.         }
    29.     }
    30.     return 1;
    31. }
    incearca asa


    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15476) : error 029: invalid expression, assumed zero
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15476) : warning 215: expression has no effect
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15476) : error 001: expected token: ";", but found ")"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15476) : error 029: invalid expression, assumed zero
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15476) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    4 Errors.
     

  16. Acum 3 ore, LeetRomania a spus:

    Salut. Mergi la inceputul gamemodeului unde sunt variabilele si scrie aceasta variabila

    
    new gPlayerLogged[MAX_PLAYERS];

     

    Salut, Imi da acum mai multe erori:


    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15432) : error 017: undefined symbol "linia"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15432) : error 001: expected token: ";", but found "if"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15440) : error 017: undefined symbol "GiftBoxActiv"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15442) : error 017: undefined symbol "giftboxobject"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15442) : error 017: undefined symbol "GiftPosX"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15443) : error 017: undefined symbol "giftbox3DText"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15443) : error 017: undefined symbol "CreateStreamed3DTextLabel"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15444) : error 017: undefined symbol "SS"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15445) : error 017: undefined symbol "GiftBoxActiv"
    D:\Users\gm\Desktop\gamemode\gamemodes\test.pwn(15449) : error 017: undefined symbol "giftboxobject"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    10 Errors.

     

×
×
  • 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.