This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: sseebbyy on Apr 26, 2015, 10:35 AMSo you didn't change any vcmp_settings, right ? Weird...No I didn't change anything.And yeah I know the title is funny
PS: chatu blestemat
Quote from: Thijn on Apr 04, 2015, 01:58 PMAre you using it as a function? i.e. player.GetPlayerAimPos()Yes.Is it wrong?If yes can you tell me what?
Quote from: sseebbyy on Apr 03, 2015, 08:58 AMNo it still doesn't work it says member variable not foundQuote from: old forum, stormeusGetPlayerAimPos: returns the position that a player is aiming toward (only updated when shooting)
GetPlayerAimDir: returns the vector rotation of a player's aim (only updated when shooting)
Quote from: S.L.C on Apr 02, 2015, 06:40 PMTry updating your squirrel module.Nope it still doesn't work.
Quote from: aXXo on Apr 02, 2015, 05:51 PMplayer.AimDir and player.AimPos might be of help, though I have not tested them personally.Didn't return a thing.I don't know if I was using them correctly and that's why I brought the code with me as well:
They are supposed to return Vector(X, Y, Z) coords.
else if(cmd == "rot")
{
Message("" + player.Name + "'s aiming pos: " + player.AimDir + "" ) // LINE 123
}
Quote from: Thijn on Apr 02, 2015, 04:09 PMVertical angle? The ped can only rotate along the horizontal axis. Or do you mean where the camera is looking at?Yeah the position of the camera.
Quote from: sseebbyy on Apr 02, 2015, 04:34 PMYour question, @marmota91, is as possible as setting the rotation of a pickup.Well you'll see later.
But I'm still curious, why do you need to set vertical rotation of a player ?