dm GAMEMODE
#1

I want to run a simple dm gamemod but after 15 mins i want the mp to change..can i do that with some kind of a sscript or do i need to run multiple gamemodes?all maps i wants will be costum interiors...
Reply
#2

You can set a timer (SetTimer) and then just loop through the online players, and set their pos to the next map, and send them a message about it.
If you want, I can go even deeper with this, and I'll post how to do so, in details.
Reply
#3

Quote:
Originally Posted by Sandiel
Посмотреть сообщение
You can set a timer (SetTimer) and then just loop through the online players, and set their pos to the next map, and send them a message about it.
If you want, I can go even deeper with this, and I'll post how to do so, in details.
yes please if you can...
Reply
#4

pawn Код:
public OnGameModeInit()
{
    SetTimer("ChangeMap", 900000, false);
    return 1;
}

forward ChangeMap();
public ChangeMap()
{
    //Code for changing map here
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)