textdraw help ? please anyone
#1

hi guys thx for reading this topic, i am making a new server and gm


i have created multiple textdraws for the server saying www.blabla.co.uk sitename ect

everythings fine when a player dies, but when the gm restarts 1 of the textdraws dont show

its a minigames server, i am scripting

so do i need a fix or something ?
Reply
#2

Quote:

so do i need a fix or something ?

Well, mostly, bugs should be fixed, yes.

And with this little information nobody will be able to help. Where do you create the textdraws? (In what callback or command), where you destroy them etc? If you could eventually provide the code, helping would be alot easier. Nobody is able to help you without knowing anything.
Reply
#3

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Well, mostly, bugs should be fixed, yes.

And with this little information nobody will be able to help. Where do you create the textdraws? (In what callback or command), where you destroy them etc? If you could eventually provide the code, helping would be alot easier. Nobody is able to help you without knowing anything.
you know what my freind, thx for reply but i think it might have something to do with my admin script [fs]

because thats got textdraws and might be conflicting with the gm textdraws

thx anyways, i will just put the textdraws in the admin script
Reply
#4

pawn Код:
public OnGameModeExit()
{
TextDrawHideForAll(TextID);
TextDrawDestroy(TextID);
return 1;
}
Reply
#5

Quote:
Originally Posted by Quickie
Посмотреть сообщение
pawn Код:
public OnGameModeExit()
{
TextDrawShowForAll(TextID);
TextDrawDestroy(TextID);
return 1;
}
Why would you show the textdraw?
Reply
#6

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
Why would you show the textdraw?
Oops sorry my fault
it should be
pawn Код:
TextDrawHideForAll(TextID);
Reply
#7

Precisely haha. But well, making humans is mistakely. Uhh oops, making mistakes is humanly.
But now back to being serious, as far as I know it's not needed to hide it since that automatically happens when the TD is destroyed right? Correct me if I'm wrong.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)