View Single Post
LBCoscu
BANNED
Join Date: Aug 2012
Location: Santiago
Old 09-04-2012 , 16:46   Re: [ZP] Usar FL_FROZEN Al Comenzar Modo (?)
#9

Mira BlackFur con el congelamiento tuve problemas ya que me congela los survivors y los zombies el unico que no se congela es el Weskertengo asi el mod...
creo que tengo ese for de mas me ayudan a arreglarlo?Ç es que ando con poco tiempo u.u
PHP Code:
        // wesker Mode
        
g_weskerround true
        g_currentmode 
MODE_WESKER
        g_lastmode 
MODE_WESKER
        
        
// Prevent Infection
        
g_allowinfection false
        
        
// Choose player randomly?
        
if (mode == MODE_NONE)
            
id fnGetRandomAlive(random_num(1iPlayersnum))
        
        
// Remember id for calling our forward later
        
forward_id id
        
        
// Make wesker
        
humanme(id002)
        
        
// Turn the remaining players into zombies
        
for (id 1id <= g_maxplayersid++)
        {
            
// Not alive
            
if (!g_isalive[id])
                continue;
            
            
// wesker or already a zombie
            
if (g_wesker[id] || g_zombie[id] )
                continue;
            
            
// Turn into a zombie
            
zombieme(id001000)
            
g_frozen[id] = true
            set_task
(15.0"remove_freeze" id)
            
fm_set_rendering(idkRenderFxGlowShell100 100255kRenderNormal20)
        }
        
        
// Turn 6 into survivor
        
for ( new 06i++ )
        {
            
id fnGetRandomAlive(random_num(1iPlayersnum))
            
humanme(id100)
        } 
LBCoscu is offline
Send a message via MSN to LBCoscu