AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   will it work ? (https://forums.alliedmods.net/showthread.php?t=240073)

xDoctor 05-08-2014 11:52

will it work ?
 
PHP Code:

public event_round_start() 
{
    new 
minutes vote_timeleft 60;
    
    new 
seconds vote_timeleft 60;
    
    
vote_timeleft 1200;

    
ColorChat0"Timeleft for vote next map: %i:%i"minutesseconds );
    
    if( 
vote_timeleft <= 0.0 )
    {
        
Timer 7;
        
        
ActionPrepare();    
    }


public 
ActionPrepare()
{
    if( 
Timer >= )
    {
        
        new 
szVox32 ];
        
        
num_to_wordTimerszVoxcharsmaxszVox ) );
        
        
client_cmd0"spk vox/%s"szVox );
        
        
Timer -= 1;
        
    }
    
    else if( 
Timer <= )
    
    {
        
remove_task197 );
        
        
ActionSpecial( );
        
    }
    



EDUTz 05-08-2014 11:59

Re: will it work ?
 
first of all that's only part of the code, second of all why don't you try yourself if it works ???? it's easier this way and you get your answer far FAR faster trying by yourself ...

xDoctor 05-08-2014 12:13

Re: will it work ?
 
Quote:

Originally Posted by EDUTz (Post 2135280)
first of all that's only part of the code, second of all why don't you try yourself if it works ???? it's easier this way and you get your answer far FAR faster trying by yourself ...

because

my server hoster.

company fall down then all of the server dosent work

and i dont got a way to check

fysiks 05-08-2014 15:27

Re: will it work ?
 
The forum rules require that your topic title be descriptive. Please update your topic title to better describe your issue or question. If you fail to do so, you risk your thread being trashed.

killergp123 05-08-2014 16:32

Re: will it work ?
 
Quote:

Originally Posted by xDoctor (Post 2135291)
because

my server hoster.

company fall down then all of the server dosent work

and i dont got a way to check

You can always use SteamCMD and setup a testing server on your computer. It helps immensely with testing/debugging compared to some server hosts.

https://developer.valvesoftware.com/...dicated_Server

ezio_auditore 05-09-2014 04:40

Re: will it work ?
 
To check whether this will work,you may follow these simple steps :
1) Compile this code.
2) Test it.


All times are GMT -4. The time now is 09:43.

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