Quote:
Originally Posted by armyoftwo
pawn Код:
public OnPlayerConnect(playerid) { SetTimer("ShowWelcomeMessage",1000,true); return 1; } public ShowWelcomeMessage(playerid) { WelcomeMessageStage ++; if(WelcomeMessageStage == 1) { TextDrawSetString(WelcomeMessage,"Welcome to!"); } else if(WelcomeMessageStage == 2) { TextDrawSetString(WelcomeMessage,"~g~K~w~Z~b~R"); } else if(WelcomeMessageStage == 3) { TextDrawSetString(WelcomeMessage,"~h~Welcome ~h~to!"); } else if(WelcomeMessageStage == 4) { TextDrawSetString(WelcomeMessage,"Kamikaze Racing"); } else if(WelcomeMessageStage == 5) { TextDrawSetString(WelcomeMessage,"~h~Kamikaz~h~e ~h~Racing"); WelcomeMessageStage =0; } TextDrawShowForPlayer(playerid, WelcomeMessage); return 1; }
Try this
EDIT: I just fixed the code again
|
hey warning on this line.
Tag mismatch TextDrawShowForPlayer(playerid,WelcomeMessageStage );