SA-MP Forums Archive
Txd name limit - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Txd name limit (/showthread.php?tid=608359)



Txd name limit - ][Noname][ - 31.05.2016

You can use only 1 file from this two files:
longfilename1.txd
longfilename2.txd

If you show textdraw type 5 texture from longfilename1.txd you will not see textrures from longfilename2.txd
If you show longfilename2.txd you will not see longfilename1.txd

from IDA samp.dll at 0x100AC808

Код:
sub_100B6090(&txdname, &txdfilename, 10);
result = (char *)LoadTxdTexture((int)&txdname, (int)&txdfilename, 0);
There is no any 10 symbol limits in 0.3z

Why Kalcor add this?


Re: Txd name limit - JohnBroddy - 07.07.2016

Oh. Kalcor 4 years later to not online


Re: Txd name limit - IllidanS4 - 08.07.2016

Probably a genuine thought that no name can ever be longer than 10 characters. The same is for object materials indices.