Tuning anticheat
#1

Hello! We can create an array of prices for all tuning details, so we can put a check at OnVehicleMod, like:

PHP Code:
if(GetPlayerInterior(playerid) == 0) return 0;
if(!
IsValidComponent(componentid) return 0;
if(
GetPlayerMoney(playerid) < GetComponentPrice(componentid)) return 0
Where can I find GetComponentPrice function with singleplayer prices?
Reply


Messages In This Thread
Tuning anticheat - by TheMallard - 24.06.2016, 04:33
Re: Tuning anticheat - by CodeStyle175 - 24.06.2016, 09:22
Re: Tuning anticheat - by Vince - 24.06.2016, 09:39
Re: Tuning anticheat - by TheMallard - 30.06.2016, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)