09.09.2015, 17:18
(
Last edited by dugi; 09/09/2015 at 08:32 PM.
)
Jeroen52 and JustMe.77, i tried and error continues showing. I tried too remove others includes, and error continues
Line of error:
Fixed
In line: forward WC_OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart);
i change to: forward WC_OnPlayerDamage(playerid, Float:amount, issuerid, weapon, bodypart);
Compiled. Thanks for helping JustMe.77 and Jeroen52.
Public OnPlayerDeath is called? how do i know who is killerid (like OnPlayerDeath) in Weapon Config System?
*Sorry my bad english, please.
Example, in OnPlayerDamageDone:
Right?
Line of error:
Quote:
#if defined _ALS_OnPlayerDamage #undef OnPlayerDamage #else #define _ALS_OnPlayerDamage #endif #define OnPlayerDamage WC_OnPlayerDamage #if defined WC_OnPlayerDamage forward WC_OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart); #endif |
In line: forward WC_OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart);
i change to: forward WC_OnPlayerDamage(playerid, Float:amount, issuerid, weapon, bodypart);
Compiled. Thanks for helping JustMe.77 and Jeroen52.
Public OnPlayerDeath is called? how do i know who is killerid (like OnPlayerDeath) in Weapon Config System?
*Sorry my bad english, please.
Example, in OnPlayerDamageDone:
Quote:
public OnPlayerDamageDone(playerid, Float:amount, issuerid, weapon, bodypart) { new Float:Health; GetPlayerHealth(playerid, Health); if(Health < amount) { // Playerid death... SendDeathMessage(issuerid, playerid, weapon); // ... } return 1; } |