Error 021: symbol already defined: "OnPlayerTakeDamage"
#10

Quote:
Originally Posted by Dirda
Посмотреть сообщение
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.)
Bro you can keep it, this is what you need to do.

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
This is the way it works, i have faced this problem myself and this is the solution.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)