21.12.2012, 07:52
The problem is here
You can't do that just move it to OnPlayerConnect and change the loop (i) to playerid.
Happened to me btw.
pawn Код:
public OnGameModeInit() AND on PlayerConnect
{
for(new i=0; i <MAX_PLAYERS; i++)
{
GMXDRAW[i] = TextDrawCreate(1.000000, 437.000000, " ");
TextDrawBackgroundColor(GMXDRAW[i], 255);
TextDrawFont(GMXDRAW[i], 1);
TextDrawLetterSize(GMXDRAW[i], 0.370000, 1.000000);
TextDrawColor(GMXDRAW[i], 65535);
TextDrawSetOutline(GMXDRAW[i], 0);
TextDrawSetProportional(GMXDRAW[i], 1);
TextDrawSetShadow(GMXDRAW[i], 1);
TextDrawUseBox(GMXDRAW[i], 1);
TextDrawBoxColor(GMXDRAW[i], 255);
TextDrawTextSize(GMXDRAW[i], 639.000000, 0.000000);
}
return 1;
}
Happened to me btw.