30.09.2015, 18:36
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"..
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);
Код:
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); |
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 |