Object knock - 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: Object knock (
/showthread.php?tid=521536)
Object knock -
Dfoglalo - 23.06.2014
Hi all,
I how can write to console "knocked object" (the write console is an example) when the player knock the object?
I don't need the OnPlayerShootDynamicObject or OnPlayerWeaponShot callback, because they only write console when the player SHOOT the object. But if I knock it with fist or a knife they can't write "knocked object" to console. So I how do this? I can write this with an extreme method, but now I look for a more humane solution (the ****** wasn't my friend before I opend this topic).
I hope they are understand, what I want to achieve.
Thanks,
Dfoglalo
Re: Object knock -
Laurey - 23.06.2014
I dont think that is possible.
Re: Object knock -
Dfoglalo - 23.06.2014
But, it's. But I look for a simple solution, if I find.
Edit: I solved my problem with 20 lines with the extreme solution's help.