SA-MP Forums Archive
Help with timer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with timer (/showthread.php?tid=629516)



Help with timer - Markoni990 - 27.02.2017

Hi all, how can i make moving letters via timer with Setobjectmaterialtext to rotate? Thanks ahead

Here is a code:

Код:
new VrtecaSlova[5];
VrtecaSlova[0] = CreateObject(19366,1621.6860352,-2498.7919922,14.3050003,0.00000, 0.00000,-15.00000); //object(wall014) (1)
VrtecaSlova[1] = CreateObject(19366,1620.1660156,-2500.3090820,14.3050003,0.00000, 0.00000,15.00000); //object(wall014) (2)
VrtecaSlova[2] = CreateObject(19366,1620.1660156,-2497.2739258,14.3050003,0.00000, 0.00000,45.00000); //object(wall014) (4)
VrtecaSlova[3] = CreateObject(19366,1618.6450195,-2498.7919922,14.3050003,0.00000, 0.00000,75.00000); //object(wall014) (6)
VrtecaSlova[4] = CreateObject(19366, 1482.30396, -1660.05176, 23.19500,   0.00000, 0.00000, 75.00000);
SetObjectMaterialText(VrtecaSlova[0],"{F81414}E",0, 60, "Impact", 130, 1, -1, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
SetObjectMaterialText(VrtecaSlova[1],"{F81414}X-",0, 60, "Impact", 130, 1, -1, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
SetObjectMaterialText(VrtecaSlova[2],"{F81414}Y",0, 60, "Impact", 130, 1, -1, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
SetObjectMaterialText(VrtecaSlova[3],"{F81414}U",0, 60, "Impact", 130, 1, -1, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
SetObjectMaterialText(VrtecaSlova[4],"",0, 60, "Impact", 130, 1, -1, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);



Respuesta: Help with timer - Eloy - 28.02.2017

use a object id 7313 and add your text material

http://dev.prineside.com/en/gtasa_sa...N_scrollsgn01/





Re: Help with timer - Markoni990 - 28.02.2017

Watch videos https://www.youtube.com/watch?v=CNQeCv5Zxi4


Re: Help with timer - Markoni990 - 28.02.2017

BUMP!


Respuesta: Help with timer - Eloy - 28.02.2017

WTF Its amazinG!!! need aplicate rotacion system with a bucle while or For i dont know :/