Jump to content
  • 0

Cum pun case in gf????


Andr3y

Question

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Similar Content

    • By TheSlim2
      Cum as putea pune o locatie pe gps /gps?Va rog ajutatima
    • By GamerulFOX
      Salutareee ! Am si eu o problema ! Cine ma poate ajuta ? Vreau ca prin aceasta comanda doar daca te cheama pe samp GamerulFOX sa poti intra in casa accea!
      Dar nu am stiut cum !

      CMD:enterhouse1(playerid, params[])
      {
          new name[MAX_PLAYER_NAME], GamerulFOX[MAX_PLAYERS];
          GetPlayerName(playerid, name, sizeof(name));
          if(!IsPlayerInRangeOfPoint(playerid, 3.0, 124.0870, 1747.3165, 17.5925)) return SendClientMessage(playerid, 0xff0000FF, "Nu esti la usa acelei case!");
          if(GetPlayerName(playerid, name, sizeof(name)) != GamerulFOX[playerid]) return SendClientMessage(playerid, 0xff0000FF, "Nu este casa ta!");
          else
              SendClientMessage(playerid, 0xff0000FF, "Bun venit acasa!");
          return 1;
      }
    • By comorasu_florin
      [21:53:31] Error ID: 1065, Eroare: Query was empty [21:53:31] Callback: [21:53:31] gQuery: [21:53:31] ==================================================================== [21:53:31] ==================================================================== [21:53:31] Error ID: 1065, Eroare: Query was empty [21:53:31] Callback: [21:53:31] gQuery: [21:53:31] ====================================================================Cand se salveaza in baza imi da erorile astea de la ce drq sa fie
      Daca puteti sa ma ajutati 
       
      Comanda: 
       
       
      YCMD:givehouse(playerid, params[], help) {
          new house, id, query[256], string[180];
          if(PlayerInfo[playerid][pAdmin] < 6) return true;
          if(sscanf(params, "id", id, house)) return SCM(playerid, COLOR_GREY, "Syntax: {FFFFFF}/givehouse <playerid/name> <house id>");
          mysql_format(SQL, query, sizeof(query), "UPDATE users SET House='999' WHERE House='%d'", id);
          mysql_tquery(SQL, query, "", "");
          PlayerInfo[id][pHouse] = house;
          query[0] = EOS;
          mysql_format(SQL, query, sizeof(query), "UPDATE users SET House='%d' WHERE ID='%d'", house, PlayerInfo[id][pSQLID]);
          mysql_tquery(SQL, query, "", "");
          format(string, sizeof(string), "({FF0000}Admin Info{FFFFFF}) %s i-a dat lui %s(%d) casa %d.", GetName(playerid), GetName(id), id, house);
          SendAdminMessage(COLOR_WHITE, string, 1);
          format(string, sizeof(string), "Administratorul %s ti-a dat casa %d.", GetName(playerid), house);
          SCM(id, COLOR_YELLOW, string);
          HouseInfo[house][hOwned] = 1;
          format(HouseInfo[house][hOwner], 256, GetName(id));
          HouseInfo[house][hValue] = 0;
          UpdateLabel(1, house);
          query[0] = EOS;
          mysql_format(SQL, query, sizeof(query), "UPDATE houses SET Owned='1', Owner='%s', Value='0' WHERE ID='%d'", GetName(id), house);
          mysql_tquery(SQL, query, "", "");
          return true;
      }
    • By The_RobyRo
      Salut, am adaugat un sistem de garaje pe server, iar acum cand am pus sa poti cumpara din /hmenu , imi da error 040: duplicate "case" label (value 410) . Dialog-ul este DIALOG_HOUSEBUYGARAGE , am verificat exista doar acesta nu mai este altul numit la fel. De la ce poate fi ?
      Gamemode-ul este burned la baza.
    • By Adel
      Am incercat să il pun si tot dă eroare.
  • Recently Browsing   0 members

    No registered users viewing this page.

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