Jump to content
  • 0

problema text masina


kiLLersx

Question

Problema intalnita (descriere): deci vreau sa atasez acest text de masina dar el sta in aceea pozitie cum ii setez angle ?
Ero(area / rile) / warning-(ul / urile): nu am erori
Liniile de cod / sursa / script-ul(obligatoriu):
Imagini / Video (optional): 

	new padurar = CreateObject(19327, 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);
	SetObjectMaterialText(padurar, "{FFFFFF}PADURAR", 0, 50, "Arial", 25, 1, -16777216, 0, 0);	
	AttachObjectToVehicle(padurar, masinalemne, -0.120000, 4.414052, 0.000000, 0.000000, 0.000000, -90.449951); //Object Model: 19362 | 


Ati incercat sa rezolvati singur?: da

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Asa e scuze, trebuia sa setezi unghiul cand atasezi obiectul de masina

aici

 

 

 

acel -90 ultina coordobata. este unghiul cand il atasezi incearca sa rotesti de el.

 

AttachObjectToVehicle(padurar, masinalemne, -0.120000, 4.414052, 0.000000, 0.000000, 0.000000, -90.449951);

 

Coordonat cealaltade care ti-am zis sa o pui inapoi 0.3

Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

  • 0

Salut 

la 

new padurar = CreateObject(19327, 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);

0,3 este unghiul roteste de el pana gasesti pozitia corecta sau care iti convine.

prin rotire ma refer sa maresti la 45, 90, 180 sau 235 cam asa

Edited by Mister

 

    __  ____      __           
   /  |/  (_)____/ /____  _____
  / /|_/ / / ___/ __/ _ \/ ___/
 / /  / / (__  ) /_/  __/ /    
/_/  /_/_/____/\__/\___/_/     
SERVICII SCRIPTING DE CALITATE
Pagina     Scripting     pawn
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.