[Tutorial] Race Tutorial
#3

Quote:
Originally Posted by Seven.
Посмотреть сообщение
You can use:
pawn Код:
new TURISMO[19];
instead of:
pawn Код:
new TURISMO1 , TURISMO2 , TURISMO3 , TURISMO4 , TURISMO5 , TURISMO6 ,
    TURISMO7 , TURISMO8, TURISMO9, TURISMO10 , TURISMO11, TURISMO12 ,
    TURISMO13, TURISMO14, TURISMO15 , TURISMO16 , TURISMO17 , TURISMO18;
thanks ill surely use it

Quote:
Originally Posted by Seven.
Посмотреть сообщение
new down, gCountDown = 4;

public OnGameModeInit()
{
down = SetTimer("StartingRace",1000,true);
}

forward StartingRace();
public StartingRace()
{
gCountDown--;
switch(gCountDown)
{
case 0:
{
GameTextForAll("~g~GO!", 1000, 3);
KillTimer(down);
PlayerPlaySound(playerid, soundid, 0,0,0);
for(new i = 0; i < MAX_PLAYERS; i++)
{
TogglePlayerControllable(i,1);
}
}
case 1:{ GameTextForAll("~b~1", 1000, 3);PlayerPlaySound(playerid, soundid, 0,0,0); }
case 2:{ GameTextForAll("~y~2", 1000, 3);PlayerPlaySound(playerid, soundid, 0,0,0); }
case 3:{ GameTextForAll("~r~3", 1000, 3);PlayerPlaySound(playerid, soundid, 0,0,0); }
}
return 1;
}[/pawn]
thanks
Reply


Messages In This Thread
Race Tutorial - by Kitten - 15.10.2010, 15:43
Re: Race Tutorial - by Seven. - 15.10.2010, 15:46
Re: Race Tutorial - by Kitten - 15.10.2010, 15:47
Re: Race Tutorial - by Seven. - 15.10.2010, 15:52
Re: Race Tutorial - by gamer931215 - 15.10.2010, 18:49
Re: Race Tutorial - by [HiC]TheKiller - 15.10.2010, 21:32
Re: Race Tutorial - by ColdXX - 18.10.2010, 18:24
Re: Race Tutorial - by Kitten - 18.10.2010, 19:12
Re: Race Tutorial - by ColdXX - 18.10.2010, 19:14
Re: Race Tutorial - by Kitten - 18.10.2010, 19:15

Forum Jump:


Users browsing this thread: 2 Guest(s)