25.06.2011, 10:02
pawn Код:
//ongamemodeinit
SetTimer("GMname", 60000, true); // Makes a timer that repeats every minute
forward GMname() // forwards the timer
public GMname()
{
new rand = random(5); // gets a random number
switch(rand) // switches through the numbers
{
case 0: SetGameModeText("Las Venturas: a"); // if random == 0, then GMname is this
case 1: SetGameModeText("Las Venturas: b"); // if random == 1, then GMname is this
case 2: SetGameModeText("Las Venturas: c"); // etc
case 3: SetGameModeText("Las Venturas: d"); // etc
case 4: SetGameModeText("Las Venturas: e"); // etc
cas3 5: SetGameModeText("Las Venturas: f"); // etc
}
return 1;
}