16.02.2016, 06:08
PHP код:
public OnGamemodeInit()
{
SetTimer("UpdateMapTimer", 1000, false);
return 1;
}
public UpdateMapTimer()
{
foreach (Player, i)
{
TextDrawShowForPlayer(i, Mapdraw0);
SetTimer("UpdateMapTimer2",1000,false);
}
return 1;
}
forward UpdateMapTimer2();
public UpdateMapTimer2()
{
foreach(player,i)
{
TextDrawHideForPlayer(i,Mapdraw0);
TextDrawSetString(Mapdraw0,"New Map Name 2");
SetTimer("UpdateMapTimer3",1000,false);
}
return 1;
}
forward UpdateMapTimer3();
public UpdateMapTimer3()
{
foreach(player,i)
{
TextDrawHideForPlayer(i,Mapdraw0);
TextDrawSetString(Mapdraw0,"New Map Name 3");
SetTimer("UpdateMapTimer",1000,false);
}
return 1;
}//Back to Map 1 , Keep do It
And dont Forget to Change String"" !


