While I was rewritting the Menu System, I had the surprise to cannot continue the development because of some missing/bugged functions from Textdraw's entity.
Here is the list:
- SetPosForAll( x, y );
SetPosForPlayer( player, x, y ); - SetColourForAll( colour );
SetColourForPlayer( player, colour );
Unfortunately, without these functions, I can't continue the development of the CMSS v2...
I strongly wait for fixes as soon as possible...
Noted.
sorry to bump this 1 day old topic but it would be good if you could add text-draw size or font or some thing like that cause text draw text is short in size like game text so i had to use announcements but i can,t figure out the time in milliseconds as there is no option to customize the time for an announcement. Would be great if you add it too.
Quote from: Sk on Nov 07, 2014, 05:30 PMsorry to bump this 1 day old topic but it would be good if you could add text-draw size or font
Not currently feasible.
I can't reproduce this issue. Do you have a minimal script that causes this to happen? I'm using this:
draw <- null;
function onPlayerCommand(player, cmd, args) {
if (cmd == "s") {
draw.ShowForPlayer(player);
}
else if (cmd == "m") {
draw.SetPosForPlayer(player, 0, 0);
}
else if (cmd == "c") {
draw.SetColourForAll(0xffff0000);
}
}
function onScriptLoad() {
draw = CreateTextdraw("test", 500, 500, 0xff0000ff);
}
haha, it seems to be fixed. Never tried it again since that moment, because I was waiting for some reply.
It works good now. :)
I will start the work on the Menu System asap.