Quote:
Originally Posted by futuretrucker
In OnGameModeInit
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++) { Speedo = TextDrawCreate(506.000000,351.000000,"_");
SetTimer("Speedometer",1000,true); }
|
Okay, you do realize that if someone is not connected when the game mode initializes the speedometer text-draw is not going to create? It would be better to perform the functions (excluding the loop) under ...
pawn Код:
public OnPlayerConnect(playerid)
... as this way it will create the text-draw and set the timer for anyone who connects after the server is initialized.