Raised This Month: $ Target: $400
 0% 

Some help with 3rd camera plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alexix
Junior Member
Join Date: Jan 2012
Old 05-01-2012 , 08:06   Some help with 3rd camera plugin
Reply With Quote #1

Hi, I'm using /cam plugin so players can choose to switch camera view.
But I would like to make it so that when someone logs into the server the camera automatically switches to 3rd person, and people can still use the /cam command to change it to normal.


my plugin:
Spoiler
alexix is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-01-2012 , 08:57   Re: Some help with 3rd camera plugin
Reply With Quote #2

Show me ur code.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-01-2012 , 09:29   Re: Some help with 3rd camera plugin
Reply With Quote #3

Add this to the plugin:

Code:
public client_putinserver(id) {     set_view(id, CAMERA_3RDPERSON); }

Quote:
Originally Posted by Bilal Pro View Post
Show me ur code.
He did. He said "my plugin:" and posted the code in spoiler tags.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 05-01-2012 , 09:41   Re: Some help with 3rd camera plugin
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
Add this to the plugin:

Code:
public client_putinserver(id) { set_view(id, CAMERA_3RDPERSON); }




He did. He said "my plugin:" and posted the code in spoiler tags.
Oh didn't notice that.
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
alexix
Junior Member
Join Date: Jan 2012
Old 05-01-2012 , 10:28   Re: Some help with 3rd camera plugin
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Add this to the plugin:

Code:
public client_putinserver(id) { set_view(id, CAMERA_3RDPERSON); }
It worked, thanks
alexix 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 07:42.


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