20.11.2012, 16:49
pawn Код:
public OnGameModeInit()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
// your "TextDrawCreate" and "TextDrawSet..." things come here.
// replace playerid with i
}
return 1;
}
pawn Код:
public OnGameModeInit()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
speed[i] = TextDrawCreate(478,389,"_");
TextDrawLetterSize(speed[i],0.37,2.0);
TextDrawSetOutline(speed[i],1);
TextDrawFont(speed[i], 2);
fuel[i] = TextDrawCreate(478,413,"_");
TextDrawLetterSize(fuel[i],0.37,2.0);
TextDrawSetOutline(fuel[i],1);
TextDrawFont(fuel[i], 2);
}
return 1;
}