Jump to content

CenzoR

Membru
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by CenzoR

  1. 2 minutes ago, hanako said:

    Postează-le aici.

    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_float - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype
    [19:40:50 01/19/22] [ERROR] cache_get_field_content_int - invalid datatype

     

     

  2. Salut! Am conectat gamemodeul, imi zice ca baza de date s-a conectat cu succes, daaaarrr... cand vreau sa intru pe el... spune ca parola este incorecta ca si cum ai avea baza de date neconectata, datele sunt puse in gamemode, am verificat totul, de la ce poate sa vina problema ma puteti ajuta?

  3. 6 hours ago, SebyP said:

    Folosesti sublime text?

    Daca folosesti incearca sa faci asta, intra in %appdata%/Sublime Text/Installed Packages si selectezi ce build folosesti. in loc de ce ai tu la "cmd" pune asa

    "cmd": ["pawncc", "$file_name", "-;+", "-v2", "-d3","-Z+", "-\\)+"],

    Multumesc ❤️

  4. 20 hours ago, Gabi21 said:

    Mai exact, în momentul în care intră/iese bagi asta:

    TogglePlayerControllable(playerid, 0);
    SetTimerEx("UnFreezeEnter", 5000, false, "i", playerid);

    Apoi, faci o funcție

    function UnFreezeEnter(playerid) {
    	TogglePlayerControllable(playerid, 1);
    	return 1;
    }

    O să primească freeze timp de 5 secunde.

    Multumesc!

  5. Salut! Am eroarea asta la compilare

    C:\Users\40723\Desktop\GM\pawno\include\YSI\y_hooks.inc(64) : fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?

    Compilation aborted.

    Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase


    1 Error.

     

    In GM am trecut includeul tot ce trebuie, dar imi da eroare asta, ma poate ajuta cineva? De la ce este?

  6. 25 minutes ago, S0NNIX said:

    Cum nu? E foarte simplu. Ceea ce te-am pus eu sa verifici este sa vezi daca jucatorul se afla la volanul unei masini. Daca jucatorul se alfa la volanul masinii (newstate == PLAYER_STATE_DRIVER), atunci sa se intample ceea ce ai scris tu in codul ala. Fara o verificare de genul, n-o sa mearga nimic din ce pui in OnPlayerStateChange. Tot ce ai de facut sa sa pui intre parantezele if-ului codul tau.

    if(newstate == PLAYER_STATE_DRIVER) {
      	//CODUL TAU
    }

     

    am rezolvat, multumesc

    • Like 1
  7. 10 hours ago, S0NNIX said:

    De ce nu ai incercat la OnPlayerEnterVehicle? Plus de asta, as vrea sa vad mai exact codul de la OnPlayerStateChange, daca intelegi ce vreau sa zic.

    public OnPlayerStateChange(playerid, newstate, oldstate)
    {
        new string[256];
        new vehicleid = GetPlayerVehicleID(playerid);
        if(newstate == PLAYER_STATE_DRIVER)
        {
            PlayerTextDrawSetPreviewModel(playerid, VehicleHUD[3], GetVehicleModel(vehicleid));
            va_PlayerTextDrawSetString(playerid, VehicleHUD[13], "%s", aVehicleNames[GetVehicleModel(vehicleid) - 400]);
            for(new i; i < 18; i++) PlayerTextDrawShow(playerid, VehicleHUD[i]);

            if((GetTickCount()-GetPVarInt(playerid, "cartime")) < 1000 && InDealer[playerid] == 0)
            {
                format(string, sizeof(string), "AdmWarning: {FFFFFF}%s(%d) {006400}posibil sa aiba Troll-Hack #5", GetName(playerid), playerid);
                SendAdminMessage(COLOR_WARNING, string, 1);
                SetPVarInt(playerid, "carspam", GetPVarInt(playerid, "carspam")+1);
                if(GetPVarInt(playerid, "carspam") >= 2)
                {
                    NightBot(playerid, "Cheats (Troll-Hack #5)");
                }
            }
            SetPVarInt(playerid, "cartime", GetTickCount());
        }
        new Scarid = FindSpawnID(vehicleid);
        if(Scarid != 0) 
        {
            new ssstring[256];
            KillTimer(VehicleTimer[Scarid]);
            format(ssstring, sizeof(ssstring), "This {00ccff}%s {FFFFFF}is owned by {FFFF00}%s {FFFFFF}- Odometer : %.2f | Insurance : $%s ( %d points ) | Colors %d,%d", aVehicleNames[CarInfo[Scarid][cModel]-400],CarInfo[Scarid][cOwner],CarInfo[Scarid][KM], FormatNumber(CarInfo[Scarid][cTax]), CarInfo[Scarid][cPoints], CarInfo[Scarid][cColorOne], CarInfo[Scarid][cColorTwo]);
            SendClientMessage(playerid, COLOR_WHITE, ssstring);
            if(CarInfo[Scarid][cPoints] == 0) {
                SCM(playerid, COLOR_GREY, "Acest vehicul nu are asigurarea platita!");
                new engine,lights,alarm,doors,bonnet,boot,objective;
                GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
                SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);      
                vehEngine[vehicleid] = 0;
            }
        }
        if(((newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)))
        {

  8. 22 minutes ago, S0NNIX said:

    Salut! Ne pare rau, dar nu te putem ajuta daca tu nu ne dai liniile de cod. Cum crezi ca noi te putem ajuta daca nu vedem ce se afla in script-ul tau? 😂

    Ba chiar ne-ar placea sa primim si mai multe detalii, adica unde nu-ti arata detaliile masinii sau prin ce modalitati ai incercat sa rezolvi problema, de unde ai mai incercat sa te inspiri, una-alta. :D 

    Cand intru intr-o masina personala, normal ar trebui sa iti arate cate zile are, cati km si de cine este detinuta, etc, problema e ca nu arata

    Am incercat si alte scripturi din alte gamemodeuri asemanatoare dar nu merg
     

    Script: new ssstring[256];
            KillTimer(VehicleTimer[Scarid]);
            format(ssstring, sizeof(ssstring), "This {00ccff}%s {FFFFFF}is owned by {FFFF00}%s {FFFFFF}- Odometer : %.2f | Insurance : $%s ( %d points ) | Colors %d,%d", aVehicleNames[CarInfo[Scarid][cModel]-400],CarInfo[Scarid][cOwner],CarInfo[Scarid][KM], FormatNumber(CarInfo[Scarid][cTax]), CarInfo[Scarid][cPoints], CarInfo[Scarid][cColorOne], CarInfo[Scarid][cColorTwo]);
            SendClientMessage(playerid, COLOR_WHITE, ssstring);
            if(CarInfo[Scarid][cPoints] == 0) {
                SCM(playerid, COLOR_GREY, "Acest vehicul nu are asigurarea platita!");
                new engine,lights,alarm,doors,bonnet,boot,objective;
                GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
                SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);      
                vehEngine[vehicleid] = 0;
            }
        }

  9.  RPG.WTFCS.RO

    Salut! Server-ul rpg.wtfcs.com isi deschide portiile astazi la ora 20:00, va asteptam in numar cat mai mare!
    Eu de unul singur administrez acest server, numai este nimeni alaturi de mine, doresc ca acest proiect sa fie unul serios!

    Suntem in cautare de HELPERI si cativa MANAGERI activi, seriosi si de incredere, dar nu oferim aceste functii la toate persoanele care cer acest lucru!

    Va asteptam cu drag !

    DNS:   rpg.wtfcs.com:7777

     IP:  92.114.32.64:7777

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