Raised This Month: $ Target: $400
 0% 

How to make firstround = freeday?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
PWA
Junior Member
Join Date: May 2010
Old 08-16-2010 , 07:09   How to make firstround = freeday?
Reply With Quote #1

Hello every one, i wanted to ask, how to make firstround like freeday/ but others round is my code!

Here is my code,

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#include <colorchat>

// Define the Plugin Version
new const VERSION[] = "1.5";

// PREFIX
new const PREFIX[] = "[IDenty]";

const 
CountSeconds 60;
const 
CountSeconds2 20;
const 
CountSeconds3 15;
new 
g_iCountTime;

public 
plugin_init()
{
    
register_plugin("Identy Days"VERSION"1PWA");
    
register_logevent("LEV_RoundEnd"2"1=Round_End")
    
register_logevent("RoundStart"2"1=Round_Start")
}

public 
RoundStart(id)
{    
    
ColorChat0GREEN"^x03%s ^x04 Uzgaidiet mazliet, Dienu tulit izvelesies! "PREFIX)
    
set_task(10.0"nextday")
}

public 
LEV_RoundEnd()
{
    
remove_task()
}

public 
Count() 
{        
    
set_hudmessage255 , -1.0 0.28 1.1 1.1 0.01 0.01 );  
    
show_hudmessage"Ieslodzitajiem ir: %d sekundes - palikusas" g_iCountTime-- );


public 
nextday(id)
{
    switch(
random_num(113))
    {
        case 
1:
        {
            
ZombieDay(id)
        }
        case 
2:
        {
            
ColorChat0GREEN"^x03%s ^x04 Custom day! Klausies ko saka! "PREFIX)
        }
        case 
3:
        {
            
SpartanDay(id)
        }
        case 
4:
        {
            
ColorChat0GREEN"^x03%s ^x04 Brivdiena!"PREFIX)
        }
        case 
5:
        {
            
ColorChat0GREEN"^x03%s ^x04 Bura diena! VISI UZ BURI! "PREFIX)
        }
        case 
6:
        {
            
ColorChat0GREEN"^x03%s ^x04 Mix day! Klausies ko saka! "PREFIX)
        }
        case 
7:
        {
            
ColorChat0GREEN"^x03%s ^x04 Simon day! Klausies ko saka! "PREFIX)
        }
        case 
8:
        {
            
ColorChat0GREEN"^x03%s ^x04 Custom day! Klausies ko saka! "PREFIX)
        }
        case 
9:
        {
            
SuddenDay(id)
        }
        case 
10:
        {
            
CthnsDay(id)
        }
        case 
11:
        {
            
WarDay(id)
        }
        case 
12:
        {
            
ColorChat0GREEN"^x03%s ^x04 Stop n Go day! Klausies ko saka! "PREFIX)
        }
        case 
13:
        {
            
HideDay(id)
        }
    }
        
    return 
PLUGIN_HANDLED;
}

And 
lower here is day scriptwith all optionswhat i dont want to show
I just want to know, how to do that. Example
All peoples join server, and the first round always be Freeday, but second will the script choise, like Hide day or smtg like that! ;)
PWA is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode