Text Draw's are not hidding/destroying
#5

Quote:
Originally Posted by NaS
View Post
The code made absolutely no sense.

A) There is no playerid parameter in OnGameModeInit.
B) You use a global TextDraw, not a per-player one. There is no point in using a per-player TextDraw if you want to show the same thing to everyone!

The code as such is correct! There must be a mistake somewhere else. Do you show/hide it somewhere else in the script? Does OnPlayerSpawn get called?
OnPlayerSpawn does get called and that's where "TextDrawShowForPlayer(playerid, XBoss30[playerid]" is ?!
When i made textdraws i always made it like this and it worked perfectly but i don't know whats the problem now
Reply


Messages In This Thread
Text Draw's are not hidding/destroying - by XBoss30 - 07.11.2016, 20:17
Re: Text Draw's are not hidding/destroying - by Magic11 - 07.11.2016, 21:00
Re: Text Draw's are not hidding/destroying - by XBoss30 - 08.11.2016, 15:15
Re: Text Draw's are not hidding/destroying - by NaS - 08.11.2016, 16:12
Re: Text Draw's are not hidding/destroying - by XBoss30 - 08.11.2016, 16:21
Re: Text Draw's are not hidding/destroying - by Shaheen - 08.11.2016, 19:42
Re: Text Draw's are not hidding/destroying - by MikeB - 08.11.2016, 19:50
Re: Text Draw's are not hidding/destroying - by Shaheen - 08.11.2016, 19:55
Re: Text Draw's are not hidding/destroying - by XBoss30 - 08.11.2016, 19:55
Re: Text Draw's are not hidding/destroying - by Shaheen - 08.11.2016, 20:01

Forum Jump:


Users browsing this thread: 1 Guest(s)