It speeds up because there is no playerid parameter, making it change speeds whenever somebody spawns.
I suggest using this and setting it up appropriately.
Код:
new Text:TextLogo[MAX_PLAYERS];
new TextLogoCount[MAX_PLAYERS] = 0;
forward ChangeTextLogo(playerid,text[]);
#define logocount 58
forward logorotate(playerid);
Also, you would want to create the textdraw, show the textdraw and set the logorotate timer in OnPlayerConnect callback.
Код:
public OnPlayerConnect(playerid)
{
TextLogo[playerid] = TextDrawCreate(506.000000, 96.000000, "FREE_PLAY");
TextDrawBackgroundColor(TextLogo[playerid], 255);
TextDrawFont(TextLogo[playerid], 3);
TextDrawLetterSize(TextLogo[playerid], 0.579999, 1.700000);
TextDrawColor(TextLogo[playerid], -1);
TextDrawSetOutline(TextLogo, 1);
TextDrawSetProportional(TextLogo[playerid], 1);
TextDrawShowForPlayer(playerid,TextLogo[playerid]);
SetTimerEx("logorotate",500,1,"d",playerid);
}
Making it individual between all the players and it should fix the problem