Posts: 1,849
Threads: 96
Joined: Apr 2010
Reputation:
0
This looks amazing Lordz! Good work brother. I can make a shooting range with all the new callbacks of SA-MP 0.3z
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
Love the causual "lol" at the end of video. I'm quite impressed with that stuff, only thing I'd suggest is using custom iterators (as optional dependency y_iterate, of course) (hooked to createobject/createplayerobject), so you don't have to loop through all objects - and only loop through already added ones.
Posts: 241
Threads: 6
Joined: May 2012
Reputation:
0
Thanks man, great tutorial
Posts: 2,698
Threads: 37
Joined: Mar 2012
Reputation:
0
@Rube, thanks.
OT : I just noticed that Streamer has been updated to 0.3z version which supports an additional callback called "OnPlayerShootDynamicObject". I've updated the tutorial with Streamer related object but right now I'm not that free so I've just explained major things under Streamer related tutorial for damaging objects. More could be explained soon.
Posts: 1,336
Threads: 30
Joined: Aug 2010
Reputation:
0
Nicely presented and explained. also a good idea inb4 anyone else xD so good job!
Posts: 288
Threads: 42
Joined: Jun 2009
Reputation:
0
Very well written tutorial, good job.
Posts: 867
Threads: 27
Joined: Aug 2012
Reputation:
0
Great work Lordz, +rep.
EDIT: Need to spread some..
Posts: 53
Threads: 0
Joined: Jan 2013
watching the video reminded me of flood mod in garry's mod... lol
i wonder if anyone actually used function this in a meaningful way on a server yet.
Unfortunately is there no way to stop fist damage to certain objects? because when fitting with hands, OnPlayerWeaponShot doesnt seem to be called
Posts: 2,698
Threads: 37
Joined: Mar 2012
Reputation:
0
Updated thread, clarified a few more things.
Posts: 617
Threads: 129
Joined: Feb 2014
Well explained but the script is very untidy, wouldn't recommend for a new scripter