Player Textdraw Questions
#1

hello samp community
i have some questions about "Player Textdraws"
1.wiki:
If you use color codes (such as ~R~ ~G~) beyond 255th character the client will crash trying to display the textdraw.
what does "255th" mean

2.i have to destroy player textdraw when player disconnects or server automaticly destroys them ?
because in wiki :
Player-textdraws are automatically destroyed when a player disconnects.
but somewhere destroyed it onplayerdisconnect
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    PlayerTextDrawDestroy(playerid, pTextdraw[playerid]);
    return 1;
}
because of this i'm confused

3.if i don't make player textdraw like this: new PlayerTextTextdraw[MAX_PLAYERS];
when i change "pTextdraw" string or color or.. for all player it will be change ?!

sorry for my bad english
thanks in advance
Reply


Messages In This Thread
Player Textdraw Questions - by Mamal75 - 12.12.2014, 09:37
Re: Player Textdraw Questions - by Lordzy - 12.12.2014, 09:44
Re: Player Textdraw Questions - by Matess - 12.12.2014, 09:47
Re: Player Textdraw Questions - by Mamal75 - 12.12.2014, 09:49
Re: Player Textdraw Questions - by MythicalMarauder - 12.12.2014, 09:50
Re: Player Textdraw Questions - by Mamal75 - 12.12.2014, 09:54
Re: Player Textdraw Questions - by Matess - 12.12.2014, 09:58
Re: Player Textdraw Questions - by MythicalMarauder - 12.12.2014, 10:01
Re: Player Textdraw Questions - by Mamal75 - 12.12.2014, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)