17.07.2010, 09:28
pawn Код:
new posStep=-1;
public OnGameModeInit()
{
SetTimer("EndOfRound", 10000, true);
return 1;
}
forward EndOfRound();
public EndOfRound()
{
posStep++;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(posStep == 0)
{
SetPlayerPos(i, x, y, z);
}
else if(posStep == 1)
{
SetPlayerPos(i, x, y, z);
}
// etc.
}
return 1;
}