Callback when vehicle is spawned - 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: Callback when vehicle is spawned (
/showthread.php?tid=397526)
Callback when vehicle is spawned -
BlackAtom - 05.12.2012
I need a callback/plugin to detect if a player is flooding with cars. For example, with mod_sa you can "ExAttack" a player by flooding cars and lag/crash the player. So, there is a callback that is called when a car is spawned?
NOT RESPAWNED .-.
Re: Callback when vehicle is spawned -
Horrible - 05.12.2012
sorry i am wrong
![Cheesy](images/smilies/biggrin.png)
thx for dwane
Re: Callback when vehicle is spawned -
Konstantinos - 05.12.2012
Quote:
Originally Posted by Horrible
|
No, because this callback is for "This callback is called when a vehicle
respawns."
You should make it by yourself.
Re: Callback when vehicle is spawned -
BlackAtom - 05.12.2012
You listened good to me? -.-
Quote:
Originally Posted by wiki.sa-mp.com
______________________________________________
OnVehicleSpawn
This callback is called when a vehicle respawns.
______________________________________________
|
I need a callback (or something by a plugin) that is called when a vehicle is spawned!
Re: Callback when vehicle is spawned -
SuperViper - 05.12.2012
A vehicle can't be
spawned by hackers.
Re: Callback when vehicle is spawned -
BlackAtom - 05.12.2012
Instead IS TRUE! I found a mod_sa (aka s o b e i t) that spawn a lot of vehicles on client side to a player's coordinates: like 10 vehicles per second. Therefore, the client send infos to server. Then, the player lag and/or crash due to too much vehicles. Is an hack called "ExAttach". I'm very tired of this. I cant do anything because a callback that is called when a vehicle is spawned does not exists .-.
Is a fundamental part of GTA... If it exists, I will do an efficient Anti-Car Flooder
![Cheesy](images/smilies/biggrin.png)
.
So, there is a callback/plugin that make this possible? (the callback that is called when a vehicle is spawned, not the anti-flooder
![Wink](images/smilies/wink.png)
)
Re: Callback when vehicle is spawned -
Azazelo - 05.12.2012
Quote:
Originally Posted by BlackAtom
Instead IS TRUE! * that spawn a lot of vehicles on client side to a player's coordinates: like 10 vehicles per second.
|
Not spawn just change position of unoccupied vehicle.