TextDrawShowForPlayer Doesn't Work! -
maximthepain - 01.11.2013
Hi I'm using 0.3x server files and when I'm inserting some textdraws in the code it doesn't show them up in the server..
heres example for code:
Defined the Textdraw name.
This is how textdraw created.
Код:
WebTD = TextDrawCreate(36.000000, 430.000000,"~h~www.neurotic.boards.net");
TextDrawBackgroundColor(WebTD, 255);
TextDrawFont(WebTD,2);
TextDrawSetShadow(WebTD,0);
TextDrawSetOutline(WebTD,1);
TextDrawAlignment(WebTD,1);
TextDrawLetterSize(WebTD,0.200000,1.000000);
TextDrawColor(WebTD,COLOR_WHITE);
TextDrawSetOutline(WebTD, 1);
Then I want it to be shown so I use for every connected player.
Under: stock spawnchar(playerid)
Код:
TextDrawShowForPlayer(playerid, WebTD);
Then under: public OnPlayerSpawn(playerid)
Код:
SpawnChar(playerid);
This textdraw doesn't work.
Either way when i try use TextdrawShowForPlayer under OnPlayerConnect it still it doesn't show it in the server... Please help! what to do ? :/
Re: TextDrawShowForPlayer Doesn't Work! -
Mattakil - 01.11.2013
I dunno if itll help, but use CreatePlayerTextDraw
Re: TextDrawShowForPlayer Doesn't Work! -
Konstantinos - 01.11.2013
Quote:
Originally Posted by Mattakil
I dunno if itll help, but use CreatePlayerTextDraw
|
Those are per-player textdraws such as textdraws for showing the player's statistics.
Whenever it's about a textdraw that won't be changed for the players, general textdraws is what he needs - what he already uses actually.
Re: TextDrawShowForPlayer Doesn't Work! -
maximthepain - 01.11.2013
Guys, I'm using the general textdraws to show server info when player joins the game.
Clock,Website,Server Name <- all of those aren't shown in-game. while the code is correct.
I'm sure i didn't went off limit's and thats akward to have this problem because in the server-log there isn't bad things which can point on the problem..
Re: TextDrawShowForPlayer Doesn't Work! -
maximthepain - 02.11.2013
*Bump*
Please some help! TextDrawShowForPlayer is in the script and its not working in the server...
Plugins I use :
Streamer sscanf Whirlpool gvar
I can't understand why its not working...
Код:
forward ShowArea(playerid);
public ShowArea(playerid)
{
TextDrawShowForPlayer(playerid, Area);
TextDrawShowForPlayer(playerid, Area1);
TextDrawShowForPlayer(playerid, Area2);
TextDrawShowForPlayer(playerid, Area3);
TextDrawShowForPlayer(playerid, Area4);
TextDrawShowForPlayer(playerid, Area5);
}
Under OnPlayerConnect(playerid)
Re: TextDrawShowForPlayer Doesn't Work! -
Patryk98 - 28.12.2013
I have the same problem :/