18.03.2011, 16:35
What could be better to use?
Creating the textdraw at OnGameModeInit using a loop
or at OnPlayerConnect?
Thanks, regards.
Creating the textdraw at OnGameModeInit using a loop
pawn Код:
public OnGameModeInit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
mytexdraw[i] = TextDrawCreate...etc
}
}
pawn Код:
public OnPlayerConnect(playerid)
{
mytexdraw[playerid] = TextDrawCreate...etc
}