01.02.2018, 13:05
Quote:
|
Okay, if none can help me solve this problem, I will delete the SKY plugin and weapon-config include
(Removed them and script has no error.) |
1. Download the latest version of weapon-config.
2. After that, put weapon-config.inc on your pawno/includes folder. Then, download SKY.dll or SKY.so and put it into your server/plugins
3. Include weapon-config on your script (#include <weapon-config>)
4. Add SKY.dll or SKY.so in your server.cfg at plugins
5. Open the script, use ctrl+f and search for OnPlayerTakeDamage
6. Replace OnPlayerTakeDamage with the code that you can find down there:
PHP код:
public OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart)


