SA-MP Forums Archive
Undocumented function? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Undocumented function? (/showthread.php?tid=464189)



Undocumented function? - SDraw - 15.09.2013

Well, it was really strange when I saw this

As I understood, this is nor an object, nor 3D-Text, nor special pickup model and nor textdraw. This is standart game text. Text is depended on game language, transparency is depended on distance.
So, what is hidding in it?
-- Added
[ame]http://www.youtube.com/watch?v=NJC8nRhzpvE[/ame]



Re: Undocumented function? - doreto - 15.09.2013

Are you sure is not 3D text with transperent color or object with material ? Can you send me server ip in private (server rules) to check it by myself ?


Re: Undocumented function? - SDraw - 15.09.2013

Quote:
Originally Posted by doreto
Посмотреть сообщение
Are you sure is not 3D text with transperent color or object with material ? Can you send me server ip in private (server rules) to check it by myself ?
Quote:
Originally Posted by SDraw
Посмотреть сообщение
this is nor an object, nor 3D-Text, nor special pickup model and nor textdraw.
IP has been sent to you.


Re: Undocumented function? - SchurmanCQC - 15.09.2013

Never seen that before at all...


Re: Undocumented function? - newbienoob - 15.09.2013

probably an object with setobjectmaterial(making it invisible) and setobjectmaterialtext(i dont remember what is it called).


Re: Undocumented function? - Vince - 15.09.2013

Well, it's some kind of 3D text used in single player to denote the price of a property, but I have no idea how to replicate this in SA-MP. If it were an object, the rotation would be static and the text wouldn't always face the player. I reckon it'd take a lot of resources to update the object so it always faces the player.


Re: Undocumented function? - Mauzen - 15.09.2013

What does it actually say? Cant tell if this is some real russian word, or just some rather senseless letters.


Re: Undocumented function? - SDraw - 15.09.2013

Here is a video
[ame]http://www.youtube.com/watch?v=NJC8nRhzpvE[/ame]
This isn't textdraw.

Using another app I can say (even I've said it already) this isn't an object


After kick it still works. So, any ideas?


Re: Undocumented function? - Mauzen - 15.09.2013

Movement and transparency change are kind of sloppy and delayed (and so server-controlled, 3dtexts are rendered by the client and so lag-free). Im sure that its a textdraw, position on screen gets calculated so it seems to be 3d, if a certain text is currently visible (once you projected the coordinates on the screen you can simply check if they are within the 640x480 screen area to check if a certain text is currently visible), its transparency gets set depending on the distance.
No magic and no hidden function
Only thing i didnt get is if the text really depends on the game language, or just on the server language.


Re: Undocumented function? - KingHual - 15.09.2013

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
What does it actually say? Cant tell if this is some real russian word, or just some rather senseless letters.
It means "Cancel".

PS: It's in English in the video