TextdrawSetString?
#4

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 );
Reply


Messages In This Thread
TextdrawSetString? - by legho - 14.01.2011, 12:47
Re: TextdrawSetString? - by alpha500delta - 14.01.2011, 12:52
Re: TextdrawSetString? - by armyoftwo - 14.01.2011, 12:53
Re: TextdrawSetString? - by legho - 14.01.2011, 12:55
Re: TextdrawSetString? - by armyoftwo - 14.01.2011, 12:56
Re: TextdrawSetString? - by DVDK - 14.01.2011, 12:59
Re: TextdrawSetString? - by armyoftwo - 14.01.2011, 13:00
Re: TextdrawSetString? - by DVDK - 14.01.2011, 13:01
Re: TextdrawSetString? - by armyoftwo - 14.01.2011, 13:03

Forum Jump:


Users browsing this thread: 5 Guest(s)