Vice City: Multiplayer

VC:MP Discussion => Bugs and Crashes => Support => Closed Bug Reports => Topic started by: Sebastian on Nov 05, 2014, 02:42 PM

Title: [BUG] Some textdraw's entity functions doesn't work !
Post by: Sebastian on Nov 05, 2014, 02:42 PM
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:


Unfortunately, without these functions, I can't continue the development of the CMSS v2...
I strongly wait for fixes as soon as possible...
Title: Re: [BUG] Some textdraw's entity functions doesn't work !
Post by: Stormeus on Nov 06, 2014, 11:13 AM
Noted.
Title: Re: [BUG] Some textdraw's entity functions doesn't work !
Post by: Sk on Nov 07, 2014, 05:30 PM
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.
Title: Re: [BUG] Some textdraw's entity functions doesn't work !
Post by: Stormeus on Feb 17, 2015, 09:31 PM
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);
}
Title: Re: [BUG] Some textdraw's entity functions doesn't work !
Post by: Sebastian on Feb 17, 2015, 10:06 PM
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.