Jump to content

TrueCross

Membru
  • Posts

    77
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. TrueCross's post in Problema LoadBizz was marked as the answer   
    Bizzlabel-ul declara-l in felul urmator:
    new BInfo[55][BizzInfo],
        Text3D:BizzLabel[sizeof(BizzInfo)];
     
    iar textele, iconitele le declari in felul urmator, faci variabile si pt iconite si mapicon.
    BizzLabel = CreateDynamic3DTextLabel(PropertyString ,0x0066FFCC,BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);
    /// pui BizzLabel si `i` in paranteza, nu stiu de ce nu pot sa-l pun eu.
     
    si ai nevoie si de dupa fiecare BizzInfo
  2. TrueCross's post in [Problem]Vehicle Slot was marked as the answer   
    incearca asa, poti face identic si la 4
    si verifica ce valoare primeste [vModel][3] si [vModel][4] cand isi cumpara cont premium.
    if(PlayerData[playerid][vModel][3] == -1) { if(PlayerData[playerid][pDonateRank] == 1) { PlayerData[playerid][vModel][3] = DealerData[IDDS[playerid]][dModel]; PlayerData[playerid][vValue][3] = DealerData[IDDS[playerid]][dPret]; PlayerData[playerid][vLocX][3] = 2315.9238+random(10); PlayerData[playerid][vLocY][3] = 1460.6024+random(10); PlayerData[playerid][vLocZ][3] = 42.8203+random(3); PlayerData[playerid][vLock][3] = 0; PlayerData[playerid][vExp][3] = 0; PlayerData[playerid][vAngle][3] = 0.0; PlayerData[playerid][pPcarkey3] = CreateVehicle(PlayerData[playerid][vModel][3], PlayerData[playerid][vLocX][3], PlayerData[playerid][vLocY][3], PlayerData[playerid][vLocZ][3], PlayerData[playerid][vAngle][3], PlayerData[playerid][vCuloare1][3], PlayerData[playerid][vCuloare2][3], -1); format(string,128,"Ai cumparat un %s din categoria %s, te-a costat: $%d",ArIsim[DealerData[IDDS[playerid]][dModel]-400],DealerData[IDDS[playerid]][dCat],DealerData[IDDS[playerid]][dPret]); SendClientMessage(playerid, COLOR_LIGHTGREEN, string); SendClientMessage(playerid, COLOR_WHITE, "Pentru a vedea comenzile disponibile scrie /carhelp!"); DealerData[IDDS[playerid]][dSlot] --; format(string, sizeof(string), "UPDATE dealer SET Slot='%d' WHERE id=%d", DealerData[IDDS[playerid]][dSlot], IDDS[playerid]); mysql_query(string); SetVehiclePos(PlayerData[playerid][pPcarkey3],1530.3772,-1024.0398,23.9983); PutPlayerInVehicle(playerid, PlayerData[playerid][pPcarkey3],0); Gas[PlayerData[playerid][pPcarkey3]] = 99; GivePlayerCash(playerid,-DealerData[IDDS[playerid]][dPret]); return 1; } }
×
×
  • 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.