Jump to content
  • 0

3dTextLabel


LuciaN

Question

7 answers to this question

Recommended Posts

iti ataseaza un scris(3d)la o masina sau la un jucator...

Proiecte:

Hospital Interior-0%(neinceput)

Limo Interior-0%(inceput)

Bank Interior-0%(neinceput)

Bus Interior-0%(inceput)

Plane Interior-0%(neinceput)

Train Interior-0%(neinceput)

Boat Interior-95%(terminat,mici retusuri)

Mini-Scripturi care au fost publicate:

GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/

Link to comment
Share on other sites

Asi vrea sa stiu care e faza cu 3dtextlabel ca nu prea inteleg funcita asta si care e faza cu

Create 3dTextLabel (sau asa ceva) creaza un scris 'in aer',

Attach3DTextLabelToPlayer()

ataseaza acel text la un jucator, iar

Attach3DTextLabelToVehicle()

la un vehicul :P

Link to comment
Share on other sites

Guest R3SpaWn

Pentru a crea un text 3d trebuie sa pui asa

Create3DTextLabel("Text ",CULOARE,x,y,x,Radius, Interior);

Exemplu

Create3DTextLabel("Proba 3dText",COLOR_ALBASTRU,1260.43,-2025.94,59.48,30.0, 0);//Zona drift 1 by R3SpaWn

Link to comment
Share on other sites

Pentru a crea un text 3d trebuie sa pui asa

Create3DTextLabel("Text ",CULOARE,x,y,x,Radius, Interior);

Exemplu

Create3DTextLabel("Proba 3dText",COLOR_ALBASTRU,1260.43,-2025.94,59.48,30.0, 0);//Zona drift 1 by R3SpaWn

ai descoperit America,a scris mai sus ca s-a uitat la functie...

Proiecte:

Hospital Interior-0%(neinceput)

Limo Interior-0%(inceput)

Bank Interior-0%(neinceput)

Bus Interior-0%(inceput)

Plane Interior-0%(neinceput)

Train Interior-0%(neinceput)

Boat Interior-95%(terminat,mici retusuri)

Mini-Scripturi care au fost publicate:

GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/

Link to comment
Share on other sites

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

    • By seek nephrite
      Am facut un VIP 3dtextlabel, adica sa se afiseze un tag "VIP" deasupra capului fiecarui jucator care are VIP.
      Problema e ca se afiseaza si celor fara VIP si celor cu.
      VIPLABEL[playerid] = Create3DTextLabel("VIP", COLOR_ULTRARED, 0.0, 0.0, 40.0, 20.0, 0, 1);
      Onplayerspawn: if(PlayerInfo[playerid][VIP] > 0) Attach3DTextLabelToPlayer(VIPLABEL[playerid], playerid, 0.0, 0.0, 0.32);
    • By M4c
      Salutare, am mutat un spawnactor, si am mutat poziția la un 3DTextlabel, s-a mutat tot bine, dar mi-a apărut un dozator, la care nu-i pot da de cap.
      cam asta am modificat. CreateDynamic3DTextLabel("{5EDCF0}Jeffery:\n{FFFFFF}Pentru ca esti nou staff-ul te rasplateste tasteaza: ({DD3A3A}/bonus{FFFFFF})",0xFFFFFFFF,2030.1371,1913.7211,12.3109, 10.0); am pus cordonatee astea in booter.inc AddPlayerClass(294,2030.1371,1913.7211,12.3109,96.7666,0,0,0,0,0,0); // jeffery Și în gm la spawnactor am pus. SpawnActor = CreateActor(37, 2030.1371,1913.7211,12.3109,96.7666); s-a mutat cu bine actoru ăla, și textu doar că îmi apare și dozatoru ăsta și nu-i dau de cap.
       

    • By muresan_emanuel2001
      Salutare tuturor.
      De cateva zile intampin o problema la care nicicum nu reusesc sa-i dau din cap. Am creat un 3dtextlabel dynamic la case deasupra iconitei dar problema e ca nu reusesc nicicum la cumparare/vanzare sa i dau update/sa l sterg si sa l adaug pe cel nou.

      new Text3D:HouseLabel[sizeof(HouseInfo)]; // la sellhouse : DestroyDynamic3DTextLabel(HouseLabel[house]); Loadproperty: for(new h = 0; h < sizeof(HouseInfo); h++)     {         if(HouseInfo[h][hOwned] == 0)         {             format(string, sizeof(string), "{99CCCC}Casa {FFFFFF}%d\n{99CCCC}Aceasta casa este de vanzare\nDescriere: {FFFFFF}%s \n{99CCCC}Cost: {FFFFFF}$%d\n{99CCCC}Nivel : {FFFFFF}%d\npentru a cumpara /buyhouse",h,HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]);             HouseLabel[h] = CreateDynamic3DTextLabel(string,0x09FF00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);             housepickup[h] = CreateDynamicPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);             pickups++;         }         if(HouseInfo[h][hOwned] == 1)         {                 if(HouseInfo[h][hRentabil] == 0)                 {                     format(string, sizeof(string), "{99CCCC}Aceasta casa este detinuta de\n{FFFFFF}%s\n{99CCCC}Nivel: {FFFFFF}%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]);                 }                 else                 {                     format(string, sizeof(string), "{99CCCC}Aceasta casa este detinuta de\n{FFFFFF}%s\n{99CCCC}Nivel: {FFFFFF}%d\n{99CCCC}/rentroom {FFFFFF}pentru a inchiria",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]);                 }                 HouseLabel[h] = CreateDynamic3DTextLabel(string,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0);                 housepickup[h] = CreateDynamicPickup(1277, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);                 pickups++;         }         //printf("Case: %d",HouseInfo);     }
    • By Criaz40k
      Stock pentru a creea un pick-up odata cu un 3dTextLabel

      Cum functioneaza?
      Add3DtextForPickup("Ce text vrei sa aibe Pick-up-ul", culoarea, id-model, tip-pickup, coordx, coordy, coordz, dist-text, vizibilitate prin pereti(0/1));
      EXEMPLU:
      Add3DtextForPickup("Drug Dealer", #FFF, 1212, 1, coordx, coordy, coordz, 10, 0);
       
  • 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.