20.04.2010, 17:39
Yeah the best way is the first what FUNExtreme said; because if you create the textdraws with a loop for all players some (most of them) are not used.
So just define your textdraw at the top with [MAX_PLAYERS] after it; so now you can give a 'number' to the textdraw. Actually that number is the ID of the player.
Then just use llala[playerid] = TextDrawCreate ..
And under OnPlayerDisconnect:
TextDrawDestroy(llala[playerid]);
So just define your textdraw at the top with [MAX_PLAYERS] after it; so now you can give a 'number' to the textdraw. Actually that number is the ID of the player.
Then just use llala[playerid] = TextDrawCreate ..
And under OnPlayerDisconnect:
TextDrawDestroy(llala[playerid]);

