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

Freeze Terrorist


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 10-11-2015 , 13:03   Freeze Terrorist
Reply With Quote #1

i need help with freeze all terrorist
PHP Code:
        for (new 1<= MaxClientsi++)
        {
        
SetEntityMoveType(TEAM_TMOVETYPE_NONE);
        } 
Kubad is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-11-2015 , 13:10   Re: Freeze Terrorist
Reply With Quote #2

PHP Code:
for (new 1<= MaxClientsi++)
{
    if (
IsClientInGame(i) && (GetClientTeam(i) == CS_TEAM_T) && IsPlayerAlive(i))
    {
        
SetEntityMoveType(iMOVETYPE_NONE); 
    }

Maxximou5 is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 10-11-2015 , 13:38   Re: Freeze Terrorist
Reply With Quote #3

ty working and i forgot on godmode in freeze
Kubad is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 10-11-2015 , 14:15   Re: Freeze Terrorist
Reply With Quote #4

i have problem with godmod i try this godmode working
PHP Code:
SetEntProp(iProp_Data"m_takedamage"01); 
and for disable in timer
PHP Code:
SetEntProp(iProp_Data"m_takedamage"11); 
in timer dont working why ?
Kubad is offline
Miu
Veteran Member
Join Date: Nov 2013
Old 10-11-2015 , 14:20   Re: Freeze Terrorist
Reply With Quote #5

needs to be

PHP Code:
SetEntProp(iProp_Data"m_takedamage"21); 
in the timer
Miu is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 10-11-2015 , 14:40   Re: Freeze Terrorist
Reply With Quote #6

ty
Kubad is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 10-11-2015 , 17:04   Re: Freeze Terrorist
Reply With Quote #7

okay i need help with
PHP Code:
PerformBlind(client255); 
PHP Code:
PerformBlind(clientamount)
{
    new 
targets[2];
    
targets[0] = client;
    
    new 
duration 1536;
    new 
holdtime 1536;
    new 
flags;
    if (
amount == 0)
    {
        
flags = (0x0001 0x0010);
    }
    else
    {
        
flags = (0x0002 0x0008);
    }
    
    new 
color[4] = { 000};
    
color[3] = amount;
    
    
Handle message StartMessageEx(g_FadeUserMsgIdtargets1);
    if (
GetUserMessageType() == UM_Protobuf)
    {
        
Protobuf pb UserMessageToProtobuf(message);
        
pb.SetInt("duration"duration);
        
pb.SetInt("hold_time"holdtime);
        
pb.SetInt("flags"flags);
        
pb.SetColor("clr"color);
    }
    else
    {
        
BfWrite bf UserMessageToBfWrite(message);
        
bf.WriteShort(duration);
        
bf.WriteShort(holdtime);
        
bf.WriteShort(flags);        
        
bf.WriteByte(color[0]);
        
bf.WriteByte(color[1]);
        
bf.WriteByte(color[2]);
        
bf.WriteByte(color[3]);
    }
    
    
EndMessage();



Last edited by Kubad; 10-11-2015 at 18:04.
Kubad is offline
SoulSharD
Member
Join Date: Oct 2013
Location: United Kingdom
Old 10-11-2015 , 18:01   Re: Freeze Terrorist
Reply With Quote #8

PHP Code:
PerformBlind(clienttargetamount); 
Client is the one who executed the blind. The target is the player who receives the blind. The amount is how much vision the target has.
__________________


Last edited by SoulSharD; 10-11-2015 at 18:02.
SoulSharD is offline
SoulSharD
Member
Join Date: Oct 2013
Location: United Kingdom
Old 10-11-2015 , 18:05   Re: Freeze Terrorist
Reply With Quote #9

Oh, nevermind.
__________________

SoulSharD is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 10-11-2015 , 18:12   Re: Freeze Terrorist
Reply With Quote #10

i need for 20 second black screen for CT
Kubad is offline
Reply


Thread Tools
Display Modes

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 05:07.


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