Need a advice about creating textdraws using strings and arrays
#1

What could be better to use?
Creating the textdraw at OnGameModeInit using a loop

pawn Код:
public OnGameModeInit()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        mytexdraw[i] = TextDrawCreate...etc
    }
}
or at OnPlayerConnect?

pawn Код:
public OnPlayerConnect(playerid)
{
    mytexdraw[playerid] = TextDrawCreate...etc
}
Thanks, regards.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)