SA-MP Forums Archive
Is it possible to remove the default sign text? - 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: Is it possible to remove the default sign text? (/showthread.php?tid=640613)



Is it possible to remove the default sign text? - Luke_James - 04.09.2017

I've just spent a couple of hours mapping this... please tell me you can get rid of it somehow.




Re: Is it possible to remove the default sign text? - Kane - 04.09.2017

IIRC, you can. Use the SA-MP map editor to delete it.


Re: Is it possible to remove the default sign text? - Luke_James - 04.09.2017

It doesn't show up on the SA-MP map editor for some reason


Re: Is it possible to remove the default sign text? - Jefff - 04.09.2017

Propably you need find materialindex, txdname, texturename in this object and next set invisible color
SetObjectMaterial(objectid, materialindex, modelid, txdname[], texturename[], materialcolor=0);

or maybe you can remove in map editor


Re: Is it possible to remove the default sign text? - Kane - 04.09.2017

It COULD be an issue with the editor you're using.

Implement the mapping into a script and see if it happens on an actual server.

(I think I misunderstood you for a sec but you're right, the text doesn't show.)
http://prntscr.com/gh5a2g


Re: Is it possible to remove the default sign text? - Luke_James - 04.09.2017

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Propably you need find materialindex, txdname, texturename in this object and next set invisible color
SetObjectMaterial(objectid, materialindex, modelid, txdname[], texturename[], materialcolor=0);

or maybe you cant remove in map editor
Needle in a haystack comes to mind

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
It COULD be an issue with the editor you're using.

Implement the mapping into a script and see if it happens on an actual server.

(I think I misunderstood you for a sec but you're right, the text doesn't show.)
http://prntscr.com/gh5a2g
The text is there on my server by default, removing the green sign behind it just removes the sign and not the text, for some reason.


Re: Is it possible to remove the default sign text? - Vince - 05.09.2017

Actually I think those texts are hard coded into the exe. They're not anywhere in the GXT, which would be the logical place to look for them.

Edit: according to this thread on GTAForums.com the text is stored inside the model file itself. The font that is used is stored in particle.txd in the models directory. So apparently the text is a particle effect? That may explain why the text itself doesn't show up in a map editor. Also since particle effects (think also fire created by molotovs, etc) don't have a modelid they can't be deleted.


Re: Is it possible to remove the default sign text? - Paulice - 05.09.2017

There's always the option of covering it with an object using the same or a similar texture.


Re: Is it possible to remove the default sign text? - Luke_James - 05.09.2017

Damn! I'm gonna have to move the entire thing, then. I can't really cover it without it being noticed and it's in a very awkward place; there are no non-collidable objects which are only visible on one side (that I know of.) If there was one, I could place two against each other and cover the text up.


Re: Is it possible to remove the default sign text? - Dignity - 05.09.2017

You can not remove it. I removed all gta sa native objects by using RemoveBuilding -1 and they remain.

These are like particles - you can't really get rid of them. I suggest mapping a custom sign underneath them like I have done.

http://i.imgur.com/dhCJN3C.png