28.04.2015, 01:43
There is a GetPlayerCameraTargetActor(playerid); .. lmfao
Did you guys even check the includes? hehe
Please see a_players.inc
Did you guys even check the includes? hehe
Please see a_players.inc
There is a HUGE difference between:
GetPlayerCamera... And GetPlayerTarget... The camera function detects if the player is looking at something, while the target functions check if their crosshair is on the player / or whatever. |
nice update with the actor's we need a function for aiming on actor... the actor's have not a playerid so we dont can use "GetPlayerTargetPlayer".
|
Dude, you know that we know that right? I just stated it because nobody seemed to realize it was added.
I really want GetPlayerTargetActor so we can make GTAV robberies perfect but just beware, we have already suggested it.. just wait and see what happens. |
[10:53:49] weapon: 24 | hittype: 0 | hitid: 65535 | 140.534378, -73.019058, 1.691428 [10:53:58] weapon: 24 | hittype: 0 | hitid: 65535 | 140.576492, -72.904090, 0.883699 [10:54:02] weapon: 24 | hittype: 0 | hitid: 65535 | 140.640502, -72.845352, 1.990501 [10:54:03] weapon: 24 | hittype: 0 | hitid: 65535 | 140.674331, -72.863838, 1.988650 [10:54:03] weapon: 24 | hittype: 0 | hitid: 65535 | 140.503036, -72.791900, 2.141450 [10:54:06] weapon: 24 | hittype: 0 | hitid: 65535 | 140.595382, -72.798164, 0.777855 [10:54:07] weapon: 24 | hittype: 0 | hitid: 65535 | 141.241790, -72.397750, 0.429687 [10:54:09] weapon: 24 | hittype: 0 | hitid: 65535 | 140.373657, -72.811286, 0.429687 [10:54:10] weapon: 24 | hittype: 0 | hitid: 65535 | 140.583465, -72.814895, 0.857048 [10:54:10] weapon: 24 | hittype: 0 | hitid: 65535 | 140.570129, -72.774185, 0.830741 [10:54:11] weapon: 24 | hittype: 0 | hitid: 65535 | 140.591735, -72.827926, 0.852727 [10:54:12] weapon: 24 | hittype: 0 | hitid: 65535 | 140.611480, -72.856788, 0.813872 |
If OnPlayerWeaponShot is ever given support for Actors, it should be as a hittype. BULLET_HIT_TYPE_ACTOR!
|
They are not objects. They are literally actors. In GTASA all pedestrians and mission characters are actors. Your player is a character. SA-MP's NPCs are characters too.
|