Raised This Month: $51 Target: $400
 12% 

[ZP] Usar FL_FROZEN Al Comenzar Modo (?)


  
 
 
Thread Tools Display Modes
LBCoscu
BANNED
Join Date: Aug 2012
Location: Santiago
Old 09-04-2012 , 22:03   Re: [ZP] Usar FL_FROZEN Al Comenzar Modo (?)
#11

Blackfur:
Alfinal lo deje asi y me anda 10 puntos gracias por el post del playerattack igual
PHP Code:
            // Turn into a zombie
            
zombieme(id001000)
            
g_frozen[id] = true
            set_task
(15.0"remove_freeze" id)
            
fm_set_rendering(idkRenderFxGlowShell100 100255kRenderNormal50)
        }
        
        
// Turn 6 into survivor
        
for ( new 06i++ )
        {
            
id fnGetRandomAlive(random_num(1iPlayersnum)) 
            if (
g_zombie[id])
            {
                
humanme(id100)
                
g_frozen[id] = false
                remove_freeze
(id)
                
fm_set_rendering(id)
            }
            else
            {
                
i--
            }
        } 
por si a alguien le sirve o que me hable por privado
LBCoscu is offline
Send a message via MSN to LBCoscu
LeeanAndNeka
Senior Member
Join Date: Feb 2012
Location: Argentina ♥
Old 09-05-2012 , 00:02   Re: [ZP] Usar FL_FROZEN Al Comenzar Modo (?)
#12

Que los expertos digan si esta OK

PHP Code:
#include <engine>

public Frezear()
{
    
get_players(PlayersNumce"T")
     
    for (new 
0Numi++)
    {
        if(
is_user_alive(Players[i]))
            
entity_set_intPlayers[i], EV_INT_flags, (entity_get_int(Players[i], EV_INT_flags )) | FL_FROZEN )
        
    }
}

public 
DesFrezear()
{
    
get_players(PlayersNum_"T")
    
    for (new 
0Numi++)
    {
        if(
is_user_alive(Players[i]))
            
entity_set_intPlayers[i], EV_INT_flags, (entity_get_int(Players[i], EV_INT_flags )) &~ FL_FROZEN )
        
    }


Last edited by LeeanAndNeka; 09-05-2012 at 00:03.
LeeanAndNeka is offline
Send a message via MSN to LeeanAndNeka Send a message via Skype™ to LeeanAndNeka
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 09-05-2012 , 01:35   Re: [ZP] Usar FL_FROZEN Al Comenzar Modo (?)
#13

PHP Code:
#include <amxmodx>
#include <engine>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "[R]ak"


public plugin_init() {
    
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /freeze""cmdFreeze")
    
    
register_clcmd("say /unfreeze""cmdUnFreeze")
    
}

public 
cmdFreeze(id) {
    
    
set_entity_flags(idFL_FROZEN1)
    
    return 
PLUGIN_HANDLED
    
}

public 
cmdUnFreeze(id) {
    
    
set_entity_flags(idFL_FROZEN0)
    
    return 
PLUGIN_HANDLED
    

PD: LBCoscu.. hola "LA_BANDA" o debo decirte "alk_del_boom" LOL
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 09-05-2012 at 03:30.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
 



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 04:13.


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