SetPlayerPos
#1

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 ?
Reply
#2

what do you want do?
Reply
#3

I want to edit SetPlayerPos Function for some anticheat teleport..
Reply
#4

Hook it. Not going to tell you anything more.
Reply
#5

Anyone Im waiting for an answer
Reply
#6

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

?
Reply
#7

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)