24.01.2014, 12:26
Hi !
I've done a quick edit on the default new.pwn.
I've simply added the functions OnPlayerTakeDamage, OnPlayerGiveDamage, OnPlayerWeaponShot, and forwarded them. I also have set more includes than the <a_samp> one (not mines).
I defined the bodyparts and the hittypes.
Links :
MEGA
Source code - Pastebin
N00B friendly : How to install it ?
• If you use the download link :
Download the file. Copy and paste it in your pawno folder. Replace the old one.
• If you use source code (pastebin)
Copy all the source code of the pastebin (CTRL + A, CTRL + C). Create a new file on pawno, select all the content of the default new.pwn and delete it. Paste the source code you've copied from pastebin and Save as new.pwn in your pawno folder. Replace the old one.
Enjoy
I've done a quick edit on the default new.pwn.
I've simply added the functions OnPlayerTakeDamage, OnPlayerGiveDamage, OnPlayerWeaponShot, and forwarded them. I also have set more includes than the <a_samp> one (not mines).
I defined the bodyparts and the hittypes.
Links :
MEGA
Source code - Pastebin
N00B friendly : How to install it ?
• If you use the download link :
Download the file. Copy and paste it in your pawno folder. Replace the old one.
• If you use source code (pastebin)
Copy all the source code of the pastebin (CTRL + A, CTRL + C). Create a new file on pawno, select all the content of the default new.pwn and delete it. Paste the source code you've copied from pastebin and Save as new.pwn in your pawno folder. Replace the old one.
Enjoy
![Smiley](images/smilies/smile.png)