Posts: 1,164
Threads: 20
Joined: Oct 2008
Reputation:
0
I have a question, could OnPlayerWeaponShot be extended to detect all kind of hits or something? Right now it's awesome that you can detect if you shot an object but it would be even more awesome if it could also detect all kind of hits, whether it be melee or a missile.
Posts: 1,190
Threads: 196
Joined: Dec 2011
Reputation:
0
that shit is amazing but you kill the samp issence and that is the lag!!!
Posts: 14
Threads: 0
Joined: Feb 2010
Reputation:
0
Agora sim hein!
Muito bom!
Posts: 882
Threads: 34
Joined: Oct 2008
Reputation:
0
I can't wait!
No more reports from new players claiming that someone's a hacker because they shoot at their bodies.
All the things you can do with the new functions, sounds really cool!
Posts: 1,164
Threads: 20
Joined: Oct 2008
Reputation:
0
Something like OnPlayerHit(playerid, hittype, hitid) for objects and vehicles would be great without having to rely on Key pressing + Camera positions + Lots of checks; Making a target system is incredibly easy with this new callback, compared to a shitload of things I had done to work around it without it, and would be perfect if not only it detected bullets but also projectiles and impacts (RPG, melees)
Posts: 15
Threads: 0
Joined: Nov 2011
Reputation:
0
Damn, I'm going to enjoy working on new projects with this.
Posts: 920
Threads: 113
Joined: Nov 2009
Reputation:
0
Awesome!! This will hopefully bring more players to samp, i've had issues with leadaiming since i started playing this game.
Posts: 1,498
Threads: 110
Joined: Aug 2013
Nice
Posts: 2,041
Threads: 97
Joined: Jun 2013
Also it might be done this way:
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ, Float:distance) // Float:distance
it does not cost anything, but...
And another thing, also 'OnPlayerPause', 'OnPlayerExistPause' and 'IsPlayarPause' might add
Posts: 89
Threads: 10
Joined: Dec 2010
Reputation:
0
this version y the "0.4a"?