SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 29/04/2015, 03:02 PM   #961
papedo
Big Clucker
 
papedo's Avatar
 
Join Date: Oct 2009
Location: Czech Republic
Posts: 162
Reputation: 6
Default Re: Suggestions / Bug Fixes

Quote:
Originally Posted by J4Rr3x View Post
You can do this with pawn functions.
By detecting keys?
1) You can´t activate it..
2) You dont know if it is allready expired => if it will start again when you press key...
papedo is offline   Reply With Quote
Old 29/04/2015, 03:36 PM   #962
iWhite
Big Clucker
 
Join Date: May 2012
Posts: 176
Reputation: 18
Default 3rd person camera

Sorry, if this is the wrong section, but I think developers could make advanced 3rd person camera like in the latest games. In San Andreas player is in the middle of the screen, while in latest games they are a little bit moved to the left. This could be adjusted with command by players and with server function by developers.
Some players are used to this new type of 3rd person camera while playing games, so this would make gameplay better

Example:
iWhite is offline   Reply With Quote
Old 29/04/2015, 03:38 PM   #963
Emmet_
Guest
 
Posts: n/a
Default Re: 3rd person camera

As far as I know, this isn't possible to do in SA-MP.
  Reply With Quote
Old 29/04/2015, 03:44 PM   #964
iWhite
Big Clucker
 
Join Date: May 2012
Posts: 176
Reputation: 18
Default Re: 3rd person camera

Quote:
Originally Posted by Emmet_ View Post
As far as I know, this isn't possible to do in SA-MP.
It's possible. Camera adjusts a little bit to the right while aiming, so developers could make a function to lock camera to that state while not aiming.

Example:
http://cs3.gamemodding.net/posts/201...2-37-44-38.jpg
iWhite is offline   Reply With Quote
Old 29/04/2015, 04:01 PM   #965
Emmet_
Guest
 
Posts: n/a
Default Re: Suggestions / Bug Fixes

Ah, my mistake. But that would actually look epic if it was implemented!

Perhaps using this function, it might already be possible, but who knows.
  Reply With Quote
Old 29/04/2015, 05:25 PM   #966
iWhite
Big Clucker
 
Join Date: May 2012
Posts: 176
Reputation: 18
Default Re: Suggestions / Bug Fixes

Quote:
Originally Posted by Emmet_ View Post
Ah, my mistake. But that would actually look epic if it was implemented!

Perhaps using this function, it might already be possible, but who knows.
YOU'RE READING MY MIND! I'm actually trying to do it with AttachObjectToPlayer and AttachCameraToObject, but it would need to change players facing angle to make model look to the direction camera's looking at, because with camera movement you just would look what is behind players back, but I don't know how to get position players camera is looking at, there are only functions to see if player is looking at position...
iWhite is offline   Reply With Quote
Old 29/04/2015, 07:14 PM   #967
$Marco$
Huge Clucker
 
$Marco$'s Avatar
 
Join Date: Sep 2012
Location: GetPlayerPos(playerid)
Posts: 360
Reputation: 127
Default Re: Suggestions / Bug Fixes

Quote:
Originally Posted by iWhite View Post
YOU'RE READING MY MIND! I'm actually trying to do it with AttachObjectToPlayer and AttachCameraToObject, but it would need to change players facing angle to make model look to the direction camera's looking at, because with camera movement you just would look what is behind players back, but I don't know how to get position players camera is looking at, there are only functions to see if player is looking at position...
GetPlayerFacingAngle?
__________________
$Marco$ is online now   Reply With Quote
Old 29/04/2015, 07:46 PM   #968
ExTaZZ69
Big Clucker
 
ExTaZZ69's Avatar
 
Join Date: Mar 2015
Location: Romania
Posts: 128
Reputation: 23
Default Re: Suggestions / Bug Fixes

Please add AttachObjectToActor.
ExTaZZ69 is offline   Reply With Quote
Old 29/04/2015, 08:18 PM   #969
iWhite
Big Clucker
 
Join Date: May 2012
Posts: 176
Reputation: 18
Default Re: Suggestions / Bug Fixes

Quote:
Originally Posted by $Marco$ View Post
GetPlayerFacingAngle?
I mean camera, not player
iWhite is offline   Reply With Quote
Old 29/04/2015, 08:43 PM   #970
n0minal
Banned
 
Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,047
Reputation: 784
Default Re: Suggestions / Bug Fixes

Quote:
Originally Posted by ExTaZZ69 View Post
Please add AttachObjectToActor.
+1...


@Edit: Kalcor please add a function like SetActorArmedWeapon(actorid, weaponid)... I want some "static guards" on my server but would looks weird without weapons...

n0minal is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
fixes.inc Juvanii Bug Reports 0 25/06/2014 04:13 PM
High priority fixes/very desired suggestions Dr.Einstein Scripting Help 32 11/02/2014 09:23 AM
[Include] fixes.inc RebeloX Lançamentos/Releases 20 13/05/2012 06:17 AM
Post suggestions in the 0.3e suggestions topic Kalcor Scripting Help 0 06/03/2012 10:00 AM


All times are GMT. The time now is 02:28 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.