changing hostname automatic
#4

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;
}
This should work
Reply


Messages In This Thread
changing hostname automatic - by marwan - 25.06.2011, 09:53
Re: changing hostname automatic - by park4bmx - 25.06.2011, 09:57
Re: changing hostname automatic - by langricr - 25.06.2011, 09:57
Re: changing hostname automatic - by Wesley221 - 25.06.2011, 10:02
Re: changing hostname automatic - by Skaizo - 25.06.2011, 10:05
Re: changing hostname automatic - by Wesley221 - 25.06.2011, 10:06
Re: changing hostname automatic - by marwan - 25.06.2011, 10:23
Re: changing hostname automatic - by langricr - 25.06.2011, 10:39
Re: changing hostname automatic - by Wesley221 - 25.06.2011, 10:44
Re: changing hostname automatic - by Skaizo - 25.06.2011, 10:54

Forum Jump:


Users browsing this thread: 3 Guest(s)