Raised This Month: $ Target: $400
 0% 

Help - 3rd Person View


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-14-2012 , 14:19   Re: Help - 3rd Person View
Reply With Quote #4

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

new g_bView33 ]

public 
plugin_init()
{
    
register_plugin("Camera""1.0""PandaDNB")
    
register_clcmd("say /cam""ClCmd_Cam")
}

public 
plugin_precache()
{
    
precache_model("models/rpgrocket.mdl")
}

public 
client_putinserver(id)
{
    
g_bView[id] = false
}

public 
ClCmd_Cam(id)
{
    
set_view
    
(
        
id
        (
g_bView[id] = !g_bView[id]) ? CAMERA_3RDPERSON CAMERA_NONE
    
)
    return 
PLUGIN_HANDLED

__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-15-2012 at 05:24.
ConnorMcLeod is offline
 



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 08:14.


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