23.08.2016, 15:28
This is the text that is in the Texts.txt : Create3DTextLabel("test!",0x3A47DEFF,2637.90, 1129.06, 11.17,30.0,1);
AND this is how i save them
new File:file,str[256];
file=fopen("Texts.txt",io_append);
new Float,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
Create3DTextLabel(inputtext,COLOR_RED,x,y,z,30.0,0 ,1);
format(str, 256, "\r\nCreate3DTextLabel(\"%s\",0xFF0000AA,%.2f, %.2f, %.2f,30.0,1);" ,inputtext, x, y, z);
fwrite(file,str);
fwrite(file,"\r\n");
fclose(file);
AND this is how i save them
new File:file,str[256];
file=fopen("Texts.txt",io_append);
new Float,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
Create3DTextLabel(inputtext,COLOR_RED,x,y,z,30.0,0 ,1);
format(str, 256, "\r\nCreate3DTextLabel(\"%s\",0xFF0000AA,%.2f, %.2f, %.2f,30.0,1);" ,inputtext, x, y, z);
fwrite(file,str);
fwrite(file,"\r\n");
fclose(file);