SA-MP Forums Archive
GetPlayerLastShotVectors Not Defined? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: GetPlayerLastShotVectors Not Defined? (/showthread.php?tid=518164)



GetPlayerLastShotVectors Not Defined? - DrakeX - 08.06.2014

GetPlayerLastShotVectors doesn't seem to be defined in a_samp.inc by default. Is this the proper way to declare it for further use?

pawn Код:
native GetPlayerLastShotVectors(playerid, &Float:fOriginX, &Float:fOriginY, &Float:fOriginZ, &Float:fHitPosX, &Float:fHitPosY, &Float:fHitPosZ);



Re: GetPlayerLastShotVectors Not Defined? - Goldenfox - 08.06.2014

Quote:
Originally Posted by DrakeX
Посмотреть сообщение
GetPlayerLastShotVectors doesn't seem to be defined in a_samp.inc by default. Is this the proper way to declare it for further use?

pawn Код:
native GetPlayerLastShotVectors(playerid, &Float:fOriginX, &Float:fOriginY, &Float:fOriginZ, &Float:fHitPosX, &Float:fHitPosY, &Float:fHitPosZ);
Oh I'm sorry, I just had to quote your full post to make my post seem more important.
Do you have any mods?


Re: GetPlayerLastShotVectors Not Defined? - Konstantinos - 08.06.2014

The native of it exists in a_players.inc file.


Re: GetPlayerLastShotVectors Not Defined? - DrakeX - 08.06.2014

Oh. Thanks. I must not have updated the rest of my includes aside from a_samp.inc.