18.11.2013, 15:46
Is it possible to create TextDraws using for loop?
I have tried that, but it didn't worked.
Can anyone give me an example how to do it?
I have tried that, but it didn't worked.
Код HTML:
new Text:TD[5]; OnGameModeInit() { new Float: x, Float: y; x = 146.0; y = 156.0; for(new i = 0; i < 5; i++) { TD[i] = TextDrawCreate(x+=10.0, y+=10.0, "Text"); } }