11.04.2015, 14:16
Replace your code with the following.
pawn Код:
public OnCheckpointEnter(playerid, checkpointid)
{
switch(checkpointid)
{
case Checkpoint 1:
{
new Float:hp;
GetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, hp - 50.0);
}
}
return 1;
}

