Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock TextDrawSetStringEx(Text:ID, str[], {Float,_}:...)
- {
- static
- args,
- start,
- end,
- string[1024]
- ;
- #emit LOAD.S.pri 8
- #emit STOR.pri args
- if (args > 12)
- {
- #emit ADDR.pri str
- #emit STOR.pri start
- for (end = start + (args - 12); end > start; end -= 4)
- {
- #emit LREF.pri end
- #emit PUSH.pri
- }
- #emit PUSH.S str
- #emit PUSH.C 1024
- #emit PUSH.C string
- #emit PUSH.C args
- #emit SYSREQ.C format
- TextDrawSetString(ID, string);
- #emit LCTRL 5
- #emit SCTRL 4
- #emit RETN
- }
- return TextDrawSetString(ID, str);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement