02.10.2009, 00:24
hello how do i make 2 pickups i have this
but it gives me 2 errors
C:\Users\Jonnie\Desktop\Server\gamemodes\USA.pwn(1 017) : error 010: invalid function or declaration
C:\Users\Jonnie\Desktop\Server\gamemodes\USA.pwn(1 021) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
how to fix??
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == IraqHealthPickup)
{
SetPlayerHealth(playerid, 100.0);
}
return 1;
}
if(pickupid == IraqArmourPickup)
{
SetPlayerArmour(playerid, 100.0);
}
return 1;
}
C:\Users\Jonnie\Desktop\Server\gamemodes\USA.pwn(1 017) : error 010: invalid function or declaration
C:\Users\Jonnie\Desktop\Server\gamemodes\USA.pwn(1 021) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
how to fix??