09.08.2009, 00:56
Change the textdraw variables to Textdraw0[MAX_PLAYERS], Textdraw1[MAX_PLAYERS], etc., then use Textdraw0[playerid], Textdraw1[playerid] to use the textdraws specific to that player.
You will also need add a loop to loop through all players and create those textdraws at the start.
Eg.
You will also need add a loop to loop through all players and create those textdraws at the start.
Eg.
Код:
OnFilterScriptInit() { for(new i=0;i<MAX_PLAYERS;i++) { Textdraw0[i] = TextDrawCreate(....); } }