Get in car using hack
#1

I have got a problem in the server,when vehicles are locked,some hackers go in them using ****** and blow them up causing bugs to the owners of the cars,how is it possible to fix this problem like if someone gets in car and it's locked....it removes or...
Reply
#2

Hello!

I don't know if it will be done, but you can test it.
PHP код:
public OnPlayerStateChange(playeridnewstateoldstate)
{
    if(
newstate == PLAYER_STATE_DRIVER)
    {
        if(
vehicle == locked//your query
        
{
            
//Player is in a car, which is locked.
            //you can send a message to the admins
        
}
    }
    return 
1;

Mencent
Reply
#3

i tried this before posting this thread but the problem is:
Lets say i unlocked my car and pressed on F and while doing the animation when entering car i locked it,it will count me as a hacker
Reply
#4

Well, so you better do a timer on command /lock that the player cant write it while he is entering the vehicle. After he enters it it will allow him to do so.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)