SA-MP Forums Archive
SetPlayerPos - 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: SetPlayerPos (/showthread.php?tid=652134)



SetPlayerPos - Xportaler - 03.04.2018

Hello guys! I wanted to edit SetPlayerPos Function. Can i do it without replacing a new function with the same name. Alsoo where is it so i can try to edit it ?


Re: SetPlayerPos - rolex - 03.04.2018

what do you want do?


Re: SetPlayerPos - Xportaler - 03.04.2018

I want to edit SetPlayerPos Function for some anticheat teleport..


Re: SetPlayerPos - Logic_ - 03.04.2018

Hook it. Not going to tell you anything more.


Re: SetPlayerPos - Xportaler - 03.04.2018

Anyone Im waiting for an answer


Re: SetPlayerPos - kovac - 03.04.2018

PHP код:
stock SetPos(playeridFloat:XFloat:YFloat:Z)
{
    
SetPlayerPos(playeridXYZ);

?


Re: SetPlayerPos - scripter112 - 03.04.2018

Код:
stock a_SetPlayerPos(playerid , Float:x , Float:y , Float:z)
{
       // your code
      SetPlayerPos(playerid,x,y,z);
}



Re: SetPlayerPos - Xportaler - 03.04.2018

Soo i cant edit that function without creating a stock ?
Like edit the function samp have


Re: SetPlayerPos - Lokii - 03.04.2018

Quote:
Originally Posted by Xportaler
Посмотреть сообщение
Soo i cant edit that function without creating a stock ?
Like edit the function samp have
https://sampforum.blast.hk/showthread.php?tid=574534