Raised This Month: $ Target: $400
 0% 

fantastiko


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fantastiko
BANNED
Join Date: Feb 2013
Old 08-15-2013 , 06:21   fantastiko
Reply With Quote #1

fantastiko

Last edited by fantastiko; 11-23-2013 at 03:38.
fantastiko is offline
Old 08-15-2013, 08:45
fantastiko
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 08-15-2013 , 10:09   Re: help spec mode
Reply With Quote #2

FYI, from HLSDK
PHP Code:
#define OBS_NONE            0    
#define OBS_CHASE_LOCKED        1 // #Spec_Mode1    Locked Chase cam
#define OBS_CHASE_FREE            2 // #Spec_Mode2    Free chase cam
#define OBS_ROAMING            3 // #Spec_Mode3    Free look
#define OBS_IN_EYE            4 // #Spec_Mode4    First Person    
#define OBS_MAP_FREE            5 // #Spec_Mode5    Free Overview 
#define OBS_MAP_CHASE            6 // #Spec_Mode6    Chase Overview 
PHP Code:
#include <amxmodx>

#define PLUGIN        "spectate block"
#define VERSION        "0.0.1"
#define AUTHOR        "author unknown anonym"

#define OBS_IN_EYE    4

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
register_event("TextMsg""block_spec_modes""bd""2&Spec_Mod");
}

public 
block_spec_modes(id)
{
    new 
data[12];
    
read_data(2data11);
        
    if( 
data[10] != OBS_IN_EYE )
    {
        
client_cmdid"spec_mode %d"OBS_IN_EYE );
        return 
PLUGIN_HANDLED;
    }
    return 
PLUGIN_CONTINUE;

__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here

Last edited by Shooting King; 08-15-2013 at 10:11.
Shooting King is offline
Reply



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 16:53.


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