Mod Shop
#1

Is there a way to detect if a player has been to a mod shop? I am trying to make an anti cheat. I have a lot of things done, just wondering if this is possible.
Reply
#2

just take coordinates from mod shops
Reply
#3

I know I could do that. Just trying to see if there is a way around it. (I don't like work xD)
Reply
#4

https://sampwiki.blast.hk/wiki/OnVehicleRespray
https://sampwiki.blast.hk/wiki/OnVehicleMod
Reply
#5

I never thought about using Vince's callbacks that he posted.

This is what I use.
pawn Код:
public OnPlayerInteriorChange(playerid,newinteriorid,oldinteriorid)
{
    if(oldinteriorid)
    {
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            // player was in a mod shop
        }
    }
    return 1;
}
Reply
#6

why u want if player was in mod shop? players can enter them without cheats or u blocked them off with a object or something?
Reply
#7

Quote:
Originally Posted by Kar
Посмотреть сообщение
why u want if player was in mod shop? players can enter them without cheats or u blocked them off with a object or something?
Hackers are able to add nitro, spoilers, bumpers and everything else.

When the player exits a mod shop, you can code it to scan the vehicle for upgrades and store it to an array. Then on a timer, check the new upgrades to the ones you've stored. If they do not match, BANG! A hacker is found.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)