12.04.2013, 14:46
It's to be done inside GetPlayerPos, see the "Passing parameters by reference" section of the Plugin development guide:
https://sampforum.blast.hk/showthread.php?pid=1507428#pid1507428
https://sampforum.blast.hk/showthread.php?pid=1507428#pid1507428