Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Born2BeatU on May 28, 2014, 03:58:42 PM
-
My friend made a script where surface.DrawPoly() is used to draw polygons in the same paint hook (2d) where some text is draw using draw.SimpleText. The polygons and text are drawn at the position of a keypad in game. For some reason when using ULib, directly looking at the keypad causes the polygons not to draw, but the text still draws. The polygons still draw when not looking at the keypad. We are fairly sure it is not to do with the script as it works unless used with ULib. If it is the script, or some conflict with ULib, would you be able to help us identify it?
-
Post the code. It's possible you're using a conflicting hook name or something like that. As far as I know, ULib shouldn't interfere with any surface clientside functions.
-
How can you tell if the polygon is drawing when you aren't looking at it...?
You might be using surface.DrawPoly wrong. Did you make sure to set the points clockwise?
-
Remaining neutral - No matter the reason, attaching the code files, including any hooks you're using, would be required for identifying.
I didn't even think we over-write any GUI, but, as MrPres states, it could be simple as a shared not-so-unique name.