Jump to content

HartMon

Membru
  • Posts

    21
  • Joined

  • Last visited

Posts posted by HartMon

  1.  

    @Azze47

    15:45:33] Script[gamemodes/gamemode.amx]: Run time error 19: "File or function is not found"
    [15:45:33] Number of vehicle models: 0

     

    image.thumb.png.043b28f4b9701c110339b5cb15d653e7.png

    Nu ai cele 3 fisiere selectate, iale dintr-un alt gamemode.

  2. 3 minutes ago, st0ry said:

    l am cautat si degeaba, am cautat coordonatele si degeaba.

    Linia 22979, poti sa scoti si casa VLM ca ii usles foloseste obiecte si poate provoca crash celor cu pc-uri slabe

    Sa cauti si RemoveObject poate a scos ceva pentru rate, si pentur casa VLM ii scos un bloc

  3. Problema intalnita (descriere):Nu am acces sa folosesc cmds /setadmin /sethelper
    Ero(area / rile) / warning-(ul / urile):You dont have acces am 1338 + Rcon
    Liniile de cod / sursa / script-ul(obligatoriu):if(strcmp(cmd, "/setadmin", true) == 0)

    {
       if(IsPlayerConnected(playerid))
       {
           if(gPlayerLogged[playerid] == 0)
           {
               SendClientMessage(playerid, COLOR_GREY, " Nu esti logat inca!");
               return 1;
           }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendUsage(playerid,"/setadmin [playerid/PartOfName] [Level(1-6)]");
    return 1;
    }
    new para1;
    new level;
    para1 = ReturnUser(tmp);
    tmp = strtok(cmdtext, idx);
    level = strval(tmp);
    new PlayerName[MAX_PLAYER_NAME];
           GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
           if(EsteManager(playerid))
       {
       if(IsPlayerConnected(para1))
       {
           if(para1 != INVALID_PLAYER_ID)
           {
               new day,month,year;
               getdate(day,month,year);
               new hour,minute,second;
               gettime(hour,minute,second);
    GetPlayerName(para1, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "Ai fost promovat Admin level %d de catre %s.", level, sendername);
    SendClientMessage(para1, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), " L-ai promovat pe %s la ADMIN Level %d.", giveplayer,level);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "%s l-a promovat pe %s la ADMIN Level %d.", sendername, giveplayer,level);
    ABroadCast(COLOR_LIGHTBLUE, string, 1);
    format(string, sizeof(string), "%s l-a promovat pe %s la ADMIN Level %d (%d-%d-%d), (%d:%d:%d)", sendername, giveplayer,level,day,month,year,hour,minute,second);
    admincmdslog(string);
    new query[256];
    PlayerData[para1][pAdmin] = level;
    format(query, sizeof(query), "UPDATE players SET AdminLevel='%d' WHERE id=%d", PlayerData[para1][pAdmin], PlayerData[para1][pSQLID]);
    mysql_query(query);
    }
    }
    }
    else
    {
    SendError(playerid,cmd);
    }
    }
    return 1;
    }
    if(strcmp(cmd, "/sethelper", true) == 0)
    {
       if(IsPlayerConnected(playerid))
       {
           if(gPlayerLogged[playerid] == 0)
           {
               SendClientMessage(playerid, COLOR_GREY, " Nu esti logat inca!");
               return 1;
           }
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
    SendUsage(playerid,"/sethelper [playerid/PartOfName] [level(0/1)]");
    return 1;
    }
    new para1;
    new level;
    para1 = ReturnUser(tmp);
    tmp = strtok(cmdtext, idx);
    level = strval(tmp);
    new PlayerName[MAX_PLAYER_NAME];
           GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
           if(level > 1 || level < 0) return SendClientMessage(playerid,COLOR_WHITE,"Level-ul poate fi doar 0 sau 1!");
           if(EsteManager(playerid))
       {
       if(IsPlayerConnected(para1))
       {
           if(para1 != INVALID_PLAYER_ID)
           {
               new day,month,year;
               getdate(day,month,year);
               new hour,minute,second;
               gettime(hour,minute,second);
    GetPlayerName(para1, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    if(level == 1)
    {
    format(string, sizeof(string), "Ai fost promovat la Helper de catre adminul %s.", sendername);
    SendClientMessage(para1, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "L-ai promovat pe %s la Helper.", giveplayer);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "%s l-a promovat pe %s la Helper", sendername, giveplayer);
    ABroadCast(COLOR_LIGHTBLUE, string, 1);
    format(string, sizeof(string), "%s l-a promovat pe %s la Helper level %d (%d-%d-%d), (%d:%d:%d)", sendername, giveplayer,level,day,month,year,hour,minute,second);
    admincmdslog(string);
    }
    else if(level == 0)
    {
    format(string, sizeof(string), "Ai fost scos din functia de Helper de adminul %s.", sendername);
    SendClientMessage(para1, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "L-ai scos din functia de Helper pe %s.", giveplayer);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    format(string, sizeof(string), "%s i-a scos Helper-ul lui %s.", sendername, giveplayer);
    ABroadCast(COLOR_LIGHTBLUE, string, 1);
    format(string, sizeof(string), "%s i-a scos Helper-ul lui %s(%d-%d-%d), (%d:%d:%d)", sendername, giveplayer,day,month,year,hour,minute,second);
    admincmdslog(string);
    }
    new query[256];
    PlayerData[para1][pAgent] = level;
    format(query, sizeof(query), "UPDATE players SET Agent='%d' WHERE id=%d", PlayerData[para1][pAgent], PlayerData[para1][pSQLID]);
    mysql_query(query);
    }
    }
    }
    else
    {
    SendError(playerid,cmd);
    }
    }
    return 1;
    }

    Imagini / Video (optional):-
    Ati incercat sa rezolvati singur?:daaa

  4. Problema intalnita (descriere):Problema la Clear Chat
    Ero(area / rile) / warning-(ul / urile):Nam erori doar ca nu se sterge Chat
    Liniile de cod / sursa / script-ul(obligatoriu):Stiu am pus tot 

    if(strcmp(cmd, "/cc", true) == 0 || strcmp(cmd, "/clearchat", true) == 0)

    {
       if(IsPlayerConnected(playerid))
    {
    if(PlayerData[playerid][pAdmin] >= 1 || PlayerData[playerid][pAgent] >= 1)
    {
     
       for(new i = 0; i <= MAX_PLAYERS; i++)
       {
           if(IsPlayerConnected(i))
    {
       if(PlayerData[pAdmin] < 1)
       {
    for( new j = 0; j <= 500; j++)
    {
    SendClientMessage(i, COLOR_WHITE, "");
    }
    }
    }
    }
    GameTextForAll("Chat cleared!", 1000,1);
                    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "{43D1D1}AdmWarning:{FFFFFF} %s a sters chatul.", sendername);
    ABroadCast(COLOR_LIGHTRED,string,1);
    return 1;
    }
    else
    {
    SendError(playerid,cmd);
    return 1;
    }
    }
    else
    {
       SendClientMessage(playerid, COLOR_RED, "Logheaza-te mai intai!");
    }
    return 1;
    }

     

     

    Imagini / Video (optional):-
    Ati incercat sa rezolvati singur?:Daa nu am reusit nimic am creat niste buguri mai mari asa ca am loat backup 

  5. [15:59:35] 
    [15:59:35] Server Plugins
    [15:59:35] --------------
    [15:59:35]  Loaded 0 plugins.
     
    [15:59:35] 
    [15:59:35] Filterscripts
    [15:59:35] ---------------
    [15:59:35]   Loading filterscript 'adminspec.amx'...
    [15:59:35]   Loading filterscript 'vactions.amx'...
    [15:59:35]   Unable to load filterscript 'vactions.amx'.
    [15:59:35]   Loaded 1 filterscripts.
     
    [15:59:35] Script[gamemodes/Carbon.amx]: Run time error 19: "File or function is not found"
    [15:59:35] Number of vehicle models: 0
    Server Logs si cum sa o Dezvolt
  6. Problema intalnita (descriere):Nu pot sa pornesc sv Deci :D
    Ero(area / rile) / warning-(ul / urile):Run time error 19: "File or function is not found
    Liniile de cod / sursa / script-ul:Server.log
    Imagini / Video (optional):-
    Ati incercat sa rezolvati singur?:Daa Nu am reusit Nimic

  7. [17:42:57] [MYSQL]: Conectare la `cobra104` a avut succes!
    [17:42:57] * Case citite: 0
    [17:42:57] * Canale IRC citite: 10
    [17:42:57] * Character killuri citite: 10
    [17:42:57] * Ziare citite: 10
    [17:42:57] * Bizzuri citite: 0
    [17:42:57] * SBizzuri citite: 0
    [17:42:57] * Teritorii citite: 0
    [17:42:57] * Seifuri citite: 0
    [17:42:57] * Masini personale citite: 0
    [17:42:57] * DealerShips citite: 4
    [17:42:57] * ID = 0 | Factiune = 0 | Alianta = 0
    [17:42:57] * ID = 0 | Factiune = 0 | Alianta = 0
    [17:42:57] * ID = 0 | Factiune = 0 | Alianta = 0
    [17:42:57] * ID = 0 | Factiune = 0 | Alianta = 0
    [17:42:57] * ID = 0 | Factiune = 0 | Alianta = 0
    [17:42:57] * ID = 0 | Factiune = 0 | Alianta = 0
    [17:42:57] * Pickup-uri citite: 45
    [17:42:57]  
    [17:42:57] -------------------------------
    [17:42:57]         Ultracs Rpg v0.1       
    [17:42:57] -------------------------------
    [17:42:57]      GameMode creator: iReflex     
    [17:42:57] -------------------------------
    [17:42:57]  
    [17:42:57] Number of vehicle models: 107
    [17:43:25] Incoming connection: 79.113.248.168:63585
    [17:43:25] [join] Cobra104 has joined the server (0:79.113.248.168)
    [17:43:36] [MySQL]: Un nou cont a fost creat in baza de date!(..)01
    [17:43:36] [MySQL]: Un nou cont a fost creat in baza de date!(..)02
    [17:43:40] [MySQL]: Un nou cont a fost creat in baza de date!(..)01
    [17:43:40] [MySQL]: Un nou cont a fost creat in baza de date!(..)02

    am urcat pe baza .sql si nu e primul gm care imi face asa


    Iar in debug scrie  >> mysql_connect( )

    [17:39:11] CMySQLHandler::CMySQLHandler() - constructor called.
    [17:39:11] CMySQLHandler::CMySQLHandler() - Connecting to "localhost" | DB: "cobra104" | Username: "cobra104" ...
    [17:39:11] CMySQLHandler::Connect() - Access denied for user 'cobra104'@'localhost' (using password: NO) (Error ID: 1045)
    [17:39:11] >> mysql_query( Connection handle: 1 )
    [17:39:11] CMySQLHandler::Query() - You cannot call this function now. (Reason: Connection is dead)
    [17:39:11] >> mysql_store_result( Connection handle: 1 )
  8. Problema intalnita (descriere):scriu parola si dau register si in server logs scrie ca un cont a fost creat in baza de date dar nu merge sa ma registrez
    Ero(area / rile) / warning-(ul / urile):Un Cont a fost creat in baza de date Si nu este
    Liniile de cod / sursa / script-ul:-
    Imagini / Video (optional):=
    Ati incercat sa rezolvati singur?:daa nu am rezolvat

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