Question
#1

Well when we use sob**t and change our interior. Then is the callback OnPlayerInteriorChange called?
Reply
#2

Probably. I mean, that's how it works right? Here, take an anti-health hack for example. If we use sob to change our health, the anti-health hack detects and responses. See my point
Reply
#3

Quote:
Originally Posted by NealPeteros
Посмотреть сообщение
Probably. I mean, that's how it works right? Here, take an anti-health hack for example. If we use sob to change our health, the anti-health hack detects and responses. See my point
Got my answer.
Reply
#4

Quote:
Originally Posted by NealPeteros
Посмотреть сообщение
Probably. I mean, that's how it works right? Here, take an anti-health hack for example. If we use sob to change our health, the anti-health hack detects and responses. See my point
Bunch of bullshit.
Anti heal hacks are working with variables which are the same as the player health is. And if not, for example the health is higher then the variable, the player is probably cheating.

I can imagine that the callback is going to call as i can see in the samp source code.

To be sure just print your callback if it is going called and cheat a bit.
Reply
#5

Quote:
Originally Posted by GangstaSunny.
Посмотреть сообщение
Bunch of bullshit.
Anti heal hacks are working with variables which are the same as the player health is. And if not, for example the health is higher then the variable, the player is probably cheating.

I can imagine that the callback is going to call as i can see in the samp source code.

To be sure just print your callback if it is going called and cheat a bit.
And how do you know what player health is?

Also, first of all i dont think you have samp source code, second is that while samp may call callback when interior change, it doesnt mean client will send that notification (we are talking about cheats here).
Reply
#6

Quote:
Originally Posted by DRIFT_HUNTER
Посмотреть сообщение
And how do you know what player health is?

Also, first of all i dont think you have samp source code, second is that while samp may call callback when interior change, it doesnt mean client will send that notification (we are talking about cheats here).
I can get the player health with GetPlayerHealth. Samp is taking the health from the client and sends it to the server.

PHP код:
//SetPlayerHealth_AC(playerid,amount) - Hook it.
AntiCheatHealth amount;
SetPlayerHealth(playerid,amount);
//AntiCheatTimer
if(GetPlayerHealth(playerid) > amount)
{
    
//cheating
}
//code is crap i know but thats how it works 
And yes i have the samp source code. It was leaked many years ago, my friend.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)