Losing Health When Entering a Checkpoint [HELP] +REP
#1

When player enter the checkpoint, i want their hp lose -50.. i use
Код:
SetPlayerHealth(playerid, -50);
but when player entered that checkpoint.. they instantly died help me!

Код:
public OnCheckpointEnter(playerid, checkpointid)
{
	switch(checkpointid)

	{
		case Checkpoint 1:

		{
			
			SetPlayerHealth(playerid, -50);

		}

	}
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)