Now some question for develoipers/0.4 scripters:
1. If you set the custom weapon to be like the fist, can you stop the ped from fighting ? Like ... the beer from SA:MP: when you press FIRE button, the "drinking" anim is applied, so there will be no fight, even if you are near+watching at another player.
2. You can set custom weapons to act like db weapons ?
3. Exists there any callback/event like "onPlayerShootPlayer" ?
4. What about "extra" parts of a vehicle ? Can them be set, or its just too hardcorded ?
Examples of extra parts of a vehicle: the roof of stallion, the flatbed's cargo etc.
1. You aren't setting animations like you would normally do. Custom weapons are made so brilliantly, you can fight with them the way you fight with normal weapons.
The Christmas hat was made as a fist weapon, so when you press the fire button your ped starts punching the way the normal fist would do. You can kill someone exactly the same way as a normal fist.
The same applies for other weapons. We have custom sniper rifles, an AK-47, a spear and many more funky weapons on our testing server. All very deadly, the possibilities are endless
2. db as in drive-by? In that case, I see no reason why not. You can set the class of a custom weapon, so if you set it to something that works as drive-by weapon it would work for your custom weapon as well. I have not tried this though, don't shoot me if I'm wrong
3. Not yet, or not that I know of.
4. There is a Vehicle.SetPart( int partID, int damageStatus ), but I doubt that will do anything to extra parts that can be added. So I guess the answer is no