public OnPlayerPrepareDeath(playerid, animlib[32], animname[32], &anim_lock, &respawn_time);
{
return 1;
}
C:\Users\Austin\Desktop\Small-County-RP-Release\pawno\include\weapon-config.inc(4836) : error 004: function "WC_OnPlayerPrepareDeath" is not implemented
C:\Users\Austin\Desktop\skrt\gamemodes\SCRP-R39.pwn(1274) : error 055: start of function body without function header
C:\Users\Austin\Desktop\skrt\gamemodes\SCRP-R39.pwn(1275) : error 010: invalid function or declaration
public OnPlayerPrepareDeath(playerid, animlib[32], animname[32], &anim_lock, &respawn_time)
{
#if defined WC_OnPlayerPrepareDeath
//HERE WC_OnPlayerPrepareDeath(playerid, animlib, animname, anim_lock, respawn_time);
#endif
}
Weird, did you made any changes to the include? Try to compile with zeex's compiler.
https://github.com/Zeex/pawn |
stock WC_CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)
{
new id = CreateVehicle(modelid, x, y, z, angle, color1, color2, respawn_delay);
if (id != INVALID_VEHICLE_ID) {
s_VehicleAlive[id] = true;
return id;
}
return INVALID_VEHICLE_ID;
}
stock WC_CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay, addsiren = 0)
{
new id = CreateVehicle(modelid, x, y, z, angle, color1, color2, respawn_delay, addsiren);
if (id != INVALID_VEHICLE_ID) {
s_VehicleAlive[id] = true;
return id;
}
return INVALID_VEHICLE_ID;
}