Mods that spawn cars. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mods that spawn cars. (
/showthread.php?tid=226225)
Mods that spawn cars. -
iggy1 - 15.02.2011
Hi, i was just wondering, as i have no real way of testing this short of downloading a mod. If a player uses a mod to spawn a vehicle, and i check the id of the vehicle ( GetPlayerVehicleID(playerid) ). Would that return INVALID_VEHICLE_ID? Could be usefull for an anti-cheat if so.
Re: Mods that spawn cars. -
jameskmonger - 15.02.2011
Yes, as it would only be a client-sided-vehicle as far as I know.
Re: Mods that spawn cars. -
Lorenc_ - 15.02.2011
yes obivously everyone doesn't have the vehicle
EDIT: im late soz
Re: Mods that spawn cars. -
iggy1 - 15.02.2011
Hmm ok. Thanks for the replies. #
EDIT:
But doesn't that mean if a player spawns a car, then you have no way of destroying/manipulating it?
Re: Mods that spawn cars. -
jameskmonger - 15.02.2011
No but you can ban them.
Re: Mods that spawn cars. -
iggy1 - 15.02.2011
Quote:
Originally Posted by jameskmonger
No but you can ban them.
|
I know that, but the next player could get in the vehicle (hydra/hunter/ryno) and it wouldn't be fair to ban them (imo).
Again thanks for the reply.
Re: Mods that spawn cars. -
jameskmonger - 15.02.2011
They couldn't get in the vehicle, it desn't exist for them.
Re: Mods that spawn cars. -
Rachael - 15.02.2011
I have never seen a hack that can spawn a vehicle for a player.
If the vehicle is client side, then nobody else could possibly use it anyway.
Re: Mods that spawn cars. -
iggy1 - 15.02.2011
Ahh i get you. I've never seen it myself but i've seen lots of player reports saying someone spawned a vehicle nice1 guys.
Re: Mods that spawn cars. -
jameskmonger - 15.02.2011
If it's a report, they probably teleported it to themselves.