Raised This Month: $ Target: $400
 0% 

Adjusting First Person Camera


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
........
BANNED
Join Date: Jul 2009
Old 07-26-2009 , 22:01   Adjusting First Person Camera
Reply With Quote #1

I would apreciate to know how to adjust the first person camera, in my case, lower.

I have been looking at the 3rd person plugins, but they have nothing to do, since it's third person view, and it doesent show neither weapons, nor the other stuff.

Also, I found nothing on AMXMODX documentation.

So, I'd need, either the name of the function, or an example.

Thanks in advance.
........ is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 07-26-2009 , 22:30   Re: Adjusting First Person Camera
Reply With Quote #2

Code:
#include <amxmodx>
#include <fakemeta>
 
#define PLUGIN "Test"
#define AUTHOR "Jim"
#define VERSION "1.0"
 
public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("test", "test")
}
 
public test(id)
{
    new Float:ofs[3]
    pev(id, pev_view_ofs, ofs)
    ofs[2] -= 8.0
    set_pev(id, pev_view_ofs, ofs)
    return 1
}
I don't know if this is what you want
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
........
BANNED
Join Date: Jul 2009
Old 07-29-2009 , 00:16   Re: Adjusting First Person Camera
Reply With Quote #3

Quote:
Originally Posted by jim_yang View Post
Code:
#include <amxmodx>
#include <fakemeta>
 
#define PLUGIN "Test"
#define AUTHOR "Jim"
#define VERSION "1.0"
 
public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("test", "test")
}
 
public test(id)
{
    new Float:ofs[3]
    pev(id, pev_view_ofs, ofs)
    ofs[2] -= 8.0
    set_pev(id, pev_view_ofs, ofs)
    return 1
}
I don't know if this is what you want
Thank you very much
........ 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 18:26.


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