At top of your cript:
pawn Код:
new Text:MyChangingText;
new MessageNum;
OnGameModeInit:
pawn Код:
MyChangingText= TextDrawCreate(3.4, 430.0, "Visit Website rpfclan.tk");
TextDrawTextSize(MyChangingText,629.000000,2.000000);
TextDrawFont(MyChangingText,2);
TextDrawLetterSize(MyChangingText,0.5,1.4);
TextDrawColor(MyChangingText,0x00FF00FF);
SetTimer("ChangeMsg",10000,true); // Textdraw will change every 10 seconds.
OnPlayerConnect:
pawn Код:
TextDrawShowForPlayer(playerid, MyChangingText);
Put this at the bottom of your script:
pawn Код:
forward ChangeMsg();
public ChangeMsg()
{
switch(MessageNum)
{
case 0: TextDrawSetString(abc, "Visit Website rpfclan.tk"), MessageNum++;
case 1: TextDrawSetString(abc, "Put rpfclan.no-ip.org:7777"), MessageNum++;
case 2: TextDrawSetString(abc, "Whatever here...."), MessageNum=0; // =0; Must be at the LAST case.
//You can add more cases here, but don't forget to change all cases above the last to MessageNum++; and the last to MessageNum=0;
}
return 1;
}
I hope this is what you ment, and come along with it.
If you have any questions, feel free to ask them.
Greetings,
Jeffry