elm is hacking the RP, anyone knows a fix? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: elm is hacking the RP, anyone knows a fix? (
/showthread.php?tid=303795)
elm is hacking the RP, anyone knows a fix? -
ikkentim - 15.12.2011
Hello everyone,
I have a problem, in my server people can turn off cars(then it isn't consuming fuel).
When they turn their engine off, the can't drive anymore( using SetVehicleParamsEx() )
But when people turn on their ELM they can drive the vehicle...
Is there any way to fix this, server-side?
Re: elm is hacking the RP, anyone knows a fix? -
[MG]Dimi - 15.12.2011
Server side fix = Maybe create Timer to check and variables to check should vehicle be turn on or off.
pawn Код:
new bool:IsOff[MAX_VEHICLES];
//where you set vehicle off coz of Fuel
IsOff[vehicleid] - true;
//And then on Timer
for(new i=0;i<MAX_VEHICLES;i++)
{
if(IsOff[i] == true) //turn vehicle off
}
Re: elm is hacking the RP, anyone knows a fix? -
ikkentim - 15.12.2011
Testing.., editing this post when done
edit:
Tested, not working
ELM is just turning it on again, and keeps driving...
Re: elm is hacking the RP, anyone knows a fix? -
[MG]Dimi - 15.12.2011
Admins + Ban = Solution (Everything I have on my mind xD)
Re: elm is hacking the RP, anyone knows a fix? -
Gooday - 15.12.2011
haha ikkettim... long time no see... aniway why dont make a command /engine /lights?
PS: I'm Luca_CorLeone....