16.01.2014, 16:38
As in, does it also sync vehicles with weapons (hunter rockets for example)?
OnPlayerWeaponShot works for vehicles. I think this callback uses GTA natives to detect the hits, so it is actually called by the client. But if vehicles are not synced, how is a vehicle hit calculated? The server doesnt know about the vehicle models, and the client could just report about hits of the synced vehicle.
So either vehicles are synced like players, or it works all different than I thought. Edit: OnPlayerWeaponShot could be called by the client who got hit, just like it was before 0.3z of course. I dont think it works this way though. |