This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

player_view


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 12-28-2007 , 19:25   player_view
Reply With Quote #1

This plugin allows admin to switch player's view, beetwen three types of 3d person.
console command:
amx_view <name or #userid> <type of view>

<type of view> should be 0,1,2,3

Last edited by TheRadiance; 03-16-2009 at 10:53.
TheRadiance is offline
Send a message via ICQ to TheRadiance
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-28-2007 , 23:26   Re: player_view
Reply With Quote #2

Why not just spectate? You should list the advantages of this plugin so users have more of a reason to use it.

PHP Code:
if (!equal(view,"0")==(!equal(view,"1")==(!equal(view,"2")==(!equal(view,"3"))))) 
???
__________________

Last edited by M249-M4A1; 12-28-2007 at 23:30.
M249-M4A1 is offline
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 12-29-2007 , 01:45   Re: player_view
Reply With Quote #3

Quote:
if (!equal(view,"0")==(!equal(view,"1")==(!equal(view,"2")==(!equal(view,"3")))))


This part of code allows to use only arguments from 0 to 3.

I made this plugin for fun only, because i like '3d person' games like "Max Payne", and i always wanted to play CS like a '3d person' game.
TheRadiance is offline
Send a message via ICQ to TheRadiance
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-29-2007 , 04:38   Re: player_view
Reply With Quote #4

There are 2 or 3 plugins that already do this.
Best one is the one you type /cam in tchat to open the camera menu.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 12-29-2007 , 10:57   Re: player_view
Reply With Quote #5

Oh, it changes YOUR view. Ha I thought it was something else.
__________________
M249-M4A1 is offline
Old 12-29-2007, 12:21
ABC3Q
This message has been deleted by Zenith77. Reason: No. --This post deleted by iPod Touch.
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-29-2007 , 14:08   Re: player_view
Reply With Quote #6

Quote:
Originally Posted by TheRadiance View Post
This part of code allows to use only arguments from 0 to 3.
PHP Code:
new num str_to_num(view);
if (
num >= && num <= 3
That is better code to use in that case
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
lolhax44
BANNED
Join Date: Jan 2008
Old 01-04-2008 , 14:26   Re: player_view
Reply With Quote #7

How would you Edit the view of it ?
lolhax44 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 17:48.


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