PDA

View Full Version : Super weird debug error's when trying to join server


Tass007
29/06/2018, 01:16 AM
EDIT: I found the issue. However this issue is my CreateTextDrawPlayer

CreateTextDrawPlayer(playerid)
{
//--Error Message--//
for(new i; i != GetMaxPlayers(); i++) ErrorMessage[i] = CreatePlayerTextDraw(i, 320.0, 240.0, "~r~Error Message");
return 1;
}

This line is what is screwing up my script. Anyone know why?

EDIT: I fixed it changed GetMaxPlayers to MAX_PLAYERS