AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help. Voting Map (https://forums.alliedmods.net/showthread.php?t=173405)

jg_20 12-04-2011 13:40

Help. Voting Map
 
..

jg_20 12-05-2011 13:14

Re: Help. Voting Map
 
help ;(

jg_20 12-06-2011 17:46

Re: Help. Voting Map
 
The problem will be here? ;/

PHP Code:

if ( iWinner == -)
    {
    
iWinner randompug_votemap_count );
    
set_task(3.0,"pug_votemap_change",iWinner)
    
client_printprint_chat "[PUG] %s has been chosen randomly." pug_votemap_nameiWinner ] );
   
    return 
PLUGIN_CONTINUE
    
}
    else
    {
        
client_printprint_chat "[PUG] Cambiando map a %s..." pug_votemap_nameiWinner ] , iMostVotes , ( iMostVotes != ) ? "s" "" );
    }
 
    
pug_voting 0;
    
votemap_noswitch 1;
    
set_pcvar_num(pug_cvar_votemap_e,0)
 
    
set_task(3.0,"pug_votemap_change",iWinner)
    return 
PLUGIN_CONTINUE




All times are GMT -4. The time now is 12:02.

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