SA-MP Forums Archive
їCуmo hago esto? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: їCуmo hago esto? (/showthread.php?tid=590534)



їCуmo hago esto? - Fagrinht - 30.09.2015

Como hago para que por ejemplo un auto tiene la ID en el servidor 60 y pues el coche que tenga esa ID tenga un texto flotante en todo el coche que diga "Coche en Venta"..


Re: їCуmo hago esto? - Jastak - 30.09.2015

creas un texto en 3d con Create3DTextLabel y lo anclas al coche con Attach3DTextLabelToVehicle


Respuesta: Re: їCуmo hago esto? - Fagrinht - 30.09.2015

Quote:
Originally Posted by Jastak
Посмотреть сообщение
creas un texto en 3d con Create3DTextLabel y lo anclas al coche con Attach3DTextLabelToVehicle
Код:
new AutosV[2],// Texto Niveles Aviones
Text3D: AutosVLabel[2]; // .: Fin Sistema :.

En OnGamemodeInit lo puse asн:

new string2[200];
AutosV[0] = AddStaticVehicleEx(593,2003.2958,-2625.2822,14.0060,359.7594,3,6,600);
format(string2,sizeof(string2),"Aviуn Nivel {33CCFF}1");
AutosVLabel[0] = CreateDynamic3DTextLabel(string2,Blanco,0,0,0,15.0,INVALID_PLAYER_ID,2,1);
no funciona.


Respuesta: Re: їCуmo hago esto? - Goncho28 - 30.09.2015

Quote:
Originally Posted by Fagrinht
Посмотреть сообщение
Код:
new AutosV[2],// Texto Niveles Aviones
Text3D: AutosVLabel[2]; // .: Fin Sistema :.

En OnGamemodeInit lo puse asн:

new string2[200];
AutosV[0] = AddStaticVehicleEx(593,2003.2958,-2625.2822,14.0060,359.7594,3,6,600);
format(string2,sizeof(string2),"Aviуn Nivel {33CCFF}1");
AutosVLabel[0] = CreateDynamic3DTextLabel(string2,Blanco,0,0,0,15.0,INVALID_PLAYER_ID,2,1);
no funciona.
Obvio que no harб nada, estas juntando funciones que no harбn nada, simplemente usa esta funciуn para ponerle el label a un auto:

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle

No entiendo que quieres hacer aъn


Respuesta: Re: їCуmo hago esto? - Fagrinht - 30.09.2015

Quote:
Originally Posted by Goncho28
Посмотреть сообщение
Obvio que no harб nada, estas juntando funciones que no harбn nada, simplemente usa esta funciуn para ponerle el label a un auto:

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle

No entiendo que quieres hacer aъn
Gracias, apliquй lo que indicaba la wiki y funcionу, muchas gracias.