Jump to content

Gireada

V.I.P
  • Content Count

    3,044
  • Joined

  • Last visited

  • Days Won

    24

Gireada last won the day on August 27 2017

Gireada had the most liked content!

Community Reputation

62 Excelent

About Gireada

  • Rank
    Gireada
  • Birthday 07/14/1996

Profile Information

  • Sex
    Masculin
  • Location
    Bacau
  • Name in game
    Gireada & Gireada_Iulian
  • Level of knowledge
    Experimentat

Contact Methods

Recent Profile Visitors

2,732 profile views
  1. Gireada

    Parere Joc

    Salutare, revin pe forum pentru a va cere o opinie legat de un joc creat de mine, pentru proiectul de diploma, la facultate. Tema jocului este: "Joc in campusul Universitatii "Vasile Alecsandri" din Bacau realizat in Unreal Engine"
  2. Gireada

    /createhouse unknown problema , help me

    arata-ne new HouseInfo
  3. Gireada

    /createhouse unknown problema , help me

    Incearca asa CMD:createhouse(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!"); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 6) { new house[64],Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500]; if(sscanf(params, "s[64]", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios</small/medium/big>]"); if(strcmp(house,"medium",true)) { GetPlayerPos(playerid, pX, pY, pZ); SetPVarFloat(playerid, "pHeX", pX); SetPVarFloat(playerid, "pHeY", pY); SetPVarFloat(playerid, "pHeZ", pZ); SetPVarInt(playerid, "hExt", 1); SetPVarFloat(playerid, "pHiX", 243.4247); SetPVarFloat(playerid, "pHiY", -1851.5872); SetPVarFloat(playerid, "pHiZ", 3333.9329); SetPVarInt(playerid, "pHiID", 0); new i = housess+1; mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')"); mysql_tquery(SQL, query, "", ""); HouseInfo[hID] = i; HouseInfo[hEntrancex] = GetPVarFloat(playerid, "pHeX"); HouseInfo[hEntrancey] = GetPVarFloat(playerid, "pHeY"); HouseInfo[hEntrancez] = GetPVarFloat(playerid, "pHeZ"); HouseInfo[hExitx] = GetPVarFloat(playerid, "pHiX"); HouseInfo[hExity] = GetPVarFloat(playerid, "pHiY"); HouseInfo[hExitz] = GetPVarFloat(playerid, "pHiZ"); format(HouseInfo[hOwner], 64, "The State"); format(HouseInfo[hDiscription], 64, "House"); HouseInfo[hValue] = 10000000; SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]); HouseInfo[hHel] = 0; HouseInfo[hArm] = 0; HouseInfo[hInterior] = GetPVarInt(playerid, "pHiID"); HouseInfo[hLock] = 0; HouseInfo[hOwned] = 0; HouseInfo[hRent] = 500; HouseInfo[hRentabil] = 1; HouseInfo[hTakings] = 0; HouseInfo[hLevel] = 5; HouseInfo[hVirtual] = GetPVarInt(playerid, "pHiVW"); mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i); mysql_tquery(SQL,query,"",""); DeletePVar(playerid, "pHeX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiID"); DeletePVar(playerid, "pHiVW"); DeletePVar(playerid, "pExt"); DeletePVar(playerid, "pInt"); DestroyDynamic3DTextLabel(HouseLabel); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]); HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]); housess++; SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium."); } if(strcmp(house,"small",true)) { GetPlayerPos(playerid, pX, pY, pZ); SetPVarFloat(playerid, "pHeX", pX); SetPVarFloat(playerid, "pHeY", pY); SetPVarFloat(playerid, "pHeZ", pZ); SetPVarFloat(playerid, "pHiX", 210.6192); SetPVarFloat(playerid, "pHiY", 1753.7064); SetPVarFloat(playerid, "pHiZ", 3334.2429); SetPVarInt(playerid, "pHiID", 0); new i = housess+1; mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')"); mysql_tquery(SQL, query, "", ""); HouseInfo[hID] = i; HouseInfo[hEntrancex] = GetPVarFloat(playerid, "pHeX"); HouseInfo[hEntrancey] = GetPVarFloat(playerid, "pHeY"); HouseInfo[hEntrancez] = GetPVarFloat(playerid, "pHeZ"); HouseInfo[hExitx] = GetPVarFloat(playerid, "pHiX"); HouseInfo[hExity] = GetPVarFloat(playerid, "pHiY"); HouseInfo[hExitz] = GetPVarFloat(playerid, "pHiZ"); format(HouseInfo[hOwner], 64, "The State"); format(HouseInfo[hDiscription], 64, "House"); HouseInfo[hValue] = 5000000; SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]); HouseInfo[hHel] = 0; HouseInfo[hArm] = 0; HouseInfo[hInterior] = GetPVarInt(playerid, "pHiID"); HouseInfo[hLock] = 0; HouseInfo[hOwned] = 0; HouseInfo[hRent] = 500; HouseInfo[hRentabil] = 1; HouseInfo[hTakings] = 0; HouseInfo[hLevel] = 3; HouseInfo[hVirtual] = GetPVarInt(playerid, "pHiVW"); mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i); mysql_tquery(SQL,query,"",""); DeletePVar(playerid, "pHeX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiID"); DeletePVar(playerid, "pHiVW"); DeletePVar(playerid, "pExt"); DeletePVar(playerid, "pInt"); DestroyDynamic3DTextLabel(HouseLabel); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]); HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]); housess++; SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small."); } if(strcmp(house,"big",true)) { GetPlayerPos(playerid, pX, pY, pZ); SetPVarFloat(playerid, "pHeX", pX); SetPVarFloat(playerid, "pHeY", pY); SetPVarFloat(playerid, "pHeZ", pZ); SetPVarFloat(playerid, "pHiX", 1686.6067); SetPVarFloat(playerid, "pHiY", 3843.6399); SetPVarFloat(playerid, "pHiZ", 8.0741); SetPVarInt(playerid, "pHiID", 0); new i = housess+1; mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')"); mysql_tquery(SQL, query, "", ""); HouseInfo[hID] = i; HouseInfo[hEntrancex] = GetPVarFloat(playerid, "pHeX"); HouseInfo[hEntrancey] = GetPVarFloat(playerid, "pHeY"); HouseInfo[hEntrancez] = GetPVarFloat(playerid, "pHeZ"); HouseInfo[hExitx] = GetPVarFloat(playerid, "pHiX"); HouseInfo[hExity] = GetPVarFloat(playerid, "pHiY"); HouseInfo[hExitz] = GetPVarFloat(playerid, "pHiZ"); format(HouseInfo[hOwner], 64, "The State"); format(HouseInfo[hDiscription], 64, "House"); HouseInfo[hValue] = 15000000; SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]); HouseInfo[hHel] = 0; HouseInfo[hArm] = 0; HouseInfo[hInterior] = GetPVarInt(playerid, "pHiID"); HouseInfo[hLock] = 0; HouseInfo[hOwned] = 0; HouseInfo[hRent] = 500; HouseInfo[hRentabil] = 1; HouseInfo[hTakings] = 0; HouseInfo[hLevel] = 7; HouseInfo[hVirtual] = GetPVarInt(playerid, "pHiVW"); mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i); mysql_tquery(SQL,query,"",""); DeletePVar(playerid, "pHeX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiID"); DeletePVar(playerid, "pHiVW"); DeletePVar(playerid, "pExt"); DeletePVar(playerid, "pInt"); DestroyDynamic3DTextLabel(HouseLabel); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]); HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]); housess++; SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big."); } } else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly); } return 1; } Daca nu merge, ti-am facut-o cu cifre. CMD:createhouse(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SCM(playerid, COLOR_ERROR, "Trebuie sa te autentifici pe server!"); if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 6) { new house,Float:pX,Float:pY,Float:pZ,PropertyString[1000],query[500]; if(sscanf(params, "i", house)) return SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Folosire: {FFFFFF}/createhouse [interios<1 - small/2 - medium/ 3 - big>]"); switch(house) { case 1: { GetPlayerPos(playerid, pX, pY, pZ); SetPVarFloat(playerid, "pHeX", pX); SetPVarFloat(playerid, "pHeY", pY); SetPVarFloat(playerid, "pHeZ", pZ); SetPVarFloat(playerid, "pHiX", 210.6192); SetPVarFloat(playerid, "pHiY", 1753.7064); SetPVarFloat(playerid, "pHiZ", 3334.2429); SetPVarInt(playerid, "pHiID", 0); new i = housess+1; mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')"); mysql_tquery(SQL, query, "", ""); HouseInfo[hID] = i; HouseInfo[hEntrancex] = GetPVarFloat(playerid, "pHeX"); HouseInfo[hEntrancey] = GetPVarFloat(playerid, "pHeY"); HouseInfo[hEntrancez] = GetPVarFloat(playerid, "pHeZ"); HouseInfo[hExitx] = GetPVarFloat(playerid, "pHiX"); HouseInfo[hExity] = GetPVarFloat(playerid, "pHiY"); HouseInfo[hExitz] = GetPVarFloat(playerid, "pHiZ"); format(HouseInfo[hOwner], 64, "The State"); format(HouseInfo[hDiscription], 64, "House"); HouseInfo[hValue] = 5000000; SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]); HouseInfo[hHel] = 0; HouseInfo[hArm] = 0; HouseInfo[hInterior] = GetPVarInt(playerid, "pHiID"); HouseInfo[hLock] = 0; HouseInfo[hOwned] = 0; HouseInfo[hRent] = 500; HouseInfo[hRentabil] = 1; HouseInfo[hTakings] = 0; HouseInfo[hLevel] = 3; HouseInfo[hVirtual] = GetPVarInt(playerid, "pHiVW"); mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i); mysql_tquery(SQL,query,"",""); DeletePVar(playerid, "pHeX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiID"); DeletePVar(playerid, "pHiVW"); DeletePVar(playerid, "pExt"); DeletePVar(playerid, "pInt"); DestroyDynamic3DTextLabel(HouseLabel); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]); HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]); housess++; SendClientMessage(playerid, COLOR_YELLOW, "House added interior: small."); } case 2: { GetPlayerPos(playerid, pX, pY, pZ); SetPVarFloat(playerid, "pHeX", pX); SetPVarFloat(playerid, "pHeY", pY); SetPVarFloat(playerid, "pHeZ", pZ); SetPVarInt(playerid, "hExt", 1); SetPVarFloat(playerid, "pHiX", 243.4247); SetPVarFloat(playerid, "pHiY", -1851.5872); SetPVarFloat(playerid, "pHiZ", 3333.9329); SetPVarInt(playerid, "pHiID", 0); new i = housess+1; mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')"); mysql_tquery(SQL, query, "", ""); HouseInfo[hID] = i; HouseInfo[hEntrancex] = GetPVarFloat(playerid, "pHeX"); HouseInfo[hEntrancey] = GetPVarFloat(playerid, "pHeY"); HouseInfo[hEntrancez] = GetPVarFloat(playerid, "pHeZ"); HouseInfo[hExitx] = GetPVarFloat(playerid, "pHiX"); HouseInfo[hExity] = GetPVarFloat(playerid, "pHiY"); HouseInfo[hExitz] = GetPVarFloat(playerid, "pHiZ"); format(HouseInfo[hOwner], 64, "The State"); format(HouseInfo[hDiscription], 64, "House"); HouseInfo[hValue] = 10000000; SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]); HouseInfo[hHel] = 0; HouseInfo[hArm] = 0; HouseInfo[hInterior] = GetPVarInt(playerid, "pHiID"); HouseInfo[hLock] = 0; HouseInfo[hOwned] = 0; HouseInfo[hRent] = 500; HouseInfo[hRentabil] = 1; HouseInfo[hTakings] = 0; HouseInfo[hLevel] = 5; HouseInfo[hVirtual] = GetPVarInt(playerid, "pHiVW"); mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i); mysql_tquery(SQL,query,"",""); DeletePVar(playerid, "pHeX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiID"); DeletePVar(playerid, "pHiVW"); DeletePVar(playerid, "pExt"); DeletePVar(playerid, "pInt"); DestroyDynamic3DTextLabel(HouseLabel); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]); HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]); housess++; SendClientMessage(playerid, COLOR_YELLOW, "House added interior: medium."); } case 3: { GetPlayerPos(playerid, pX, pY, pZ); SetPVarFloat(playerid, "pHeX", pX); SetPVarFloat(playerid, "pHeY", pY); SetPVarFloat(playerid, "pHeZ", pZ); SetPVarFloat(playerid, "pHiX", 1686.6067); SetPVarFloat(playerid, "pHiY", 3843.6399); SetPVarFloat(playerid, "pHiZ", 8.0741); SetPVarInt(playerid, "pHiID", 0); new i = housess+1; mysql_format(SQL, query, sizeof(query), "INSERT INTO houses (Owner, Lockk, Hel, Arm, Level, Rentabil, Rent, Owned, Discription, Value, Takings) VALUES('The State', '0', '0', '0', '10', '1', '500', '0', 'House', '10000000', '0')"); mysql_tquery(SQL, query, "", ""); HouseInfo[hID] = i; HouseInfo[hEntrancex] = GetPVarFloat(playerid, "pHeX"); HouseInfo[hEntrancey] = GetPVarFloat(playerid, "pHeY"); HouseInfo[hEntrancez] = GetPVarFloat(playerid, "pHeZ"); HouseInfo[hExitx] = GetPVarFloat(playerid, "pHiX"); HouseInfo[hExity] = GetPVarFloat(playerid, "pHiY"); HouseInfo[hExitz] = GetPVarFloat(playerid, "pHiZ"); format(HouseInfo[hOwner], 64, "The State"); format(HouseInfo[hDiscription], 64, "House"); HouseInfo[hValue] = 15000000; SetPVarInt(playerid, "pHiVW", housess+HouseInfo[hValue]); HouseInfo[hHel] = 0; HouseInfo[hArm] = 0; HouseInfo[hInterior] = GetPVarInt(playerid, "pHiID"); HouseInfo[hLock] = 0; HouseInfo[hOwned] = 0; HouseInfo[hRent] = 500; HouseInfo[hRentabil] = 1; HouseInfo[hTakings] = 0; HouseInfo[hLevel] = 7; HouseInfo[hVirtual] = GetPVarInt(playerid, "pHiVW"); mysql_format(SQL, query, sizeof(query), "UPDATE `houses` SET `Entrancex`='%f',`Entrancey`='%f',`Entrancez`='%f',`Exitx`='%f',`Exity`='%f',`Exitz`='%f',`Interior`='%d',`Virtual`='%d' WHERE `ID`='%d'",HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez],HouseInfo[hExitx],HouseInfo[hExity],HouseInfo[hExitz],HouseInfo[hInterior],HouseInfo[hVirtual],i); mysql_tquery(SQL,query,"",""); DeletePVar(playerid, "pHeX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiX"); DeletePVar(playerid, "pHeY"); DeletePVar(playerid, "pHeZ"); DeletePVar(playerid, "pHiID"); DeletePVar(playerid, "pHiVW"); DeletePVar(playerid, "pExt"); DeletePVar(playerid, "pInt"); DestroyDynamic3DTextLabel(HouseLabel); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {A9C4E4}%d \n{A9C4E4}This house is for sale(/buyhouse) ! \n{FFFFFF}Description: {A9C4E4}%s \n{FFFFFF}Price: {A9C4E4}$%s \n{FFFFFF}Level: {A9C4E4}%d",i,HouseInfo[hDiscription],FormatNumber(HouseInfo[hValue]),HouseInfo[hLevel]); HouseLabel = CreateDynamic3DTextLabel(PropertyString ,0x09FF00CC,HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); SetPlayerInterior(playerid, 0); SetPlayerVirtualWorld(playerid, 0); SetPlayerPos(playerid, HouseInfo[hEntrancex], HouseInfo[hEntrancey], HouseInfo[hEntrancez]); housess++; SendClientMessage(playerid, COLOR_YELLOW, "House added interior: big."); } default: { SendClientMessage(playerid, 0xFFFFFFFF, "{A9C4E4}Foloseste una dintre cifre pentru interior 1 - small 2 - medium 3 - big"); } } } else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly); } return 1; }
  4. Gireada

    Problema comanda /l

    Trebuia sa-ti mearga, daca nu-ti apare nimic arata-mi functia LeaderChat
  5. Gireada

    Bug /stats

    Arata toata comanda daca vrei sa fii ajutat, asa nu ne putem da seamna care e problema, doar din initializarea unor string-uri.
  6. Gireada

    Help la panel ;(

    Pe hostul pe care-l ai trebuie sa dea update la PHP. Functiile PDO fiind de la o versiune de PHP mai mare. Ai putea incerca sa adaugi: extension=pdo.so extension=pdo_sqlite.so extension=sqlite.so extension=pdo_mysql.so in acel php. Ia legatura cu cei de la WebHost
  7. Gireada

    Mapa ajutor

    Te poti duce la https://www.sa-mp.ro/forums/forum/376-hărţi/ si vei gasi destule.
  8. Gireada

    Problema comanda /l

    if( PlayerInfo[ playerid ][ pAdmin ] ) { format(string, sizeof(string), "{73a2ad}(/l) Admin %s: %s",sendername, mesajelc); } Trebuie sa scoti PlayerInfo[ playerid ][ pAdmin ] deoarce tu transmiti prin parametrii doar sendername si mesajelc adica %s %s. Daca vrei sa pui rang-ul adminului adica nivelul trebuie sa adaugi %d adica. if( PlayerInfo[ playerid ][ pAdmin ] ) { format(string, sizeof(string), "{73a2ad}(/l) Admin(%d) %s: %s", PlayerInfo[ playerid ][ pAdmin ],sendername, mesajelc); } %d - decimale sau poti folosi si %i care inseamna intreg. %s - insemnand string
  9. Gireada

    Interior HQ

    Intri in joc dai /save, te duci in Documente si iei coordonatele, iar cu map editor te duci si pui usa.
  10. Gireada

    Luck event by Gireada

    Arata-ne codul sursa, dupa ce l-ai modificat.
  11. Gireada

    Cum sa ai 950 case pe server?

    Macar de explicai si tu cate ceva. Nu stiu daca se poate numi un tutorial ce ai postat tu, dar fie.
  12. Gireada

    Eroare Compilare Pawno

    Descarca ultima versiune de Pawno de pe www.sa-mp.com si reincearca
  13. Gireada

    Problema Pawno

    Incearca sa dai compile cu notepad++ sa vezi daca-ti da Stop Working.
  14. Gireada

    Restart Programat Help!

    Cum ai CheckTimer apelat?
  15. Gireada

    Problema fish

    Aici FishTimerr[playerid] = SetTimerEx("Fisher", 1000, 1, "i", playerid); sterge FishTimerr[playerid] =
×

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.