2021-06-21, 07:58 PM
Ilustration :?youtube.com/watch?v=8-laOTcqCj0
[Pawn] HELP! How to Make Moving, Running, Text Draw With Box ?
|
2021-06-21, 07:58 PM
Ilustration :?youtube.com/watch?v=8-laOTcqCj0
To update the textdraw position, you need to create and destroy it each time and increase Y.
You can do it with a timer. EDIT: You can also use?TextDrawSetPosition from SKY.inc
2021-06-23, 06:23 PM
(2021-06-22, 08:08 AM)Radical Wrote: To update the textdraw position, you need to create and destroy it each time and increase Y. Can i have the sample script?create and destroy it each time and increase Y sir?
Not tested.
Code: new td_timer_id;
SKY/YSF would be better as you are not creating/deleting things from the pool but sending the (position) update packets (which is MUCH better on O(n) / O(1) things)
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
2021-06-24, 07:06 PM
2021-06-25, 08:22 AM
(2021-06-24, 07:06 PM)PutuSuhartawan Wrote:(2021-06-24, 11:16 AM)Pinch Wrote: SKY/YSF would be better as you are not creating/deleting things from the pool but sending the (position) update packets (which is MUCH better on O(n) / O(1) things) Yes indeed, SKY/YSF adds missing functions (the functions we already were supposed to have by default) so yeah :) Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
2021-06-25, 10:13 PM
2021-06-26, 11:53 AM
How hard is it google "YSF sa-mp site:github.com"
Anyways https://github.com/IllidanS4/YSF https://github.com/IllidanS4/YSF/wiki Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics. |