OnPlayerWeaponShot doesn't work for driver DB
#9

Quote:
Originally Posted by Gryphus One
Посмотреть сообщение
I have just made a very brief test with OnPlayerWeaponShot. I just created a filterscript with this simple code:

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    SendClientMessage(playerid, -1, "OnPlayerWeaponShot has been called");
    return 1;
}
to test if this callback is called from vehicles. When I found it's not I was gonna open a thread, but then I found you MP2 are already reporting this issue.


I have just tested it and armed vehicles (like Rustler, RC Baron, Hydra, Hunter...) do NOT call OnPlayerWeaponShot, just like they don't (at least in previous versions) call OnPlayerGiveDamage. Ohh come on Kalcor, please fix both of these
I only tested the seasparrow and hunter, and know it worked. Perhaps you made a mistake, or RC3 changed it. I doubt that though.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)