10.08.2009, 16:40
Hi, i am getting a few errors on my pickup thing, please help me, here is the code
And errors:
Код:
public OnPlayerPickupPickup(playerid, pickupid)
{
if (pickupid == HealthGood)
{
}
else if (pickupid == ArmourGood)
{
}
else if (pickupid == ParachuteGood)
{
}
else if (pickupid == AmmoGood)
{
}
else if (pickupid == HealthBad)
{
}
else if (pickupid == ArmourBad)
{
}
else if (pickupid == ParachuteBad)
{
}
else if (pickupid == AmmoBad)
{
}
return 1;
}
Код:
C:\Documents and Settings\Cameron Banfield\Desktop\Game-Flight DM server\gamemodes\SASDM.pwn(955) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickupPickup") C:\Documents and Settings\Cameron Banfield\Desktop\Game-Flight DM server\gamemodes\SASDM.pwn(957) : error 017: undefined symbol "HealthGood" C:\Documents and Settings\Cameron Banfield\Desktop\Game-Flight DM server\gamemodes\SASDM.pwn(40) : warning 204: symbol is assigned a value that is never used: "healthGood" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.

