Leg broken system +rep
#6

Quote:
Originally Posted by iLearner
Посмотреть сообщение
I guess after (issuerid != INVALID_PLAYER_ID you need && and not ||
Also your error isn't visible post it here.
The errors marked in red label, you can see it it's on sublime text editor, and I did an arrow in the line.

Quote:
Originally Posted by iLearner
Посмотреть сообщение
PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart)
{
    if(
issuerid != INVALID_PLAYER_ID && weaponid >= 22 && weaponid <=38 && bodypart == || bodypart == 8)
      {
           if(
pLegBroken[playerid] == false)
{
pLegBroken[playerid] = true;
ApplyAnimation(playerid"PED""CLIMB_jump2fall"4.110010);
SendClientMessage(playeridCOLOR_LIGHTRED"-> You've been hit in the leg, you're going to struggle with running and jumping.");
}
      } 
Still the same errors by somehow.
Reply


Messages In This Thread
Leg broken system +rep - by DemME - 28.10.2016, 18:28
Re: Leg broken system +rep - by iLearner - 28.10.2016, 18:34
Re: Leg broken system +rep - by ISmokezU - 28.10.2016, 18:41
Re: Leg broken system +rep - by DemME - 28.10.2016, 18:47
Re: Leg broken system +rep - by iLearner - 28.10.2016, 18:51
Re: Leg broken system +rep - by DemME - 28.10.2016, 18:53
Re: Leg broken system +rep - by iLearner - 28.10.2016, 19:03
Re: Leg broken system +rep - by DemME - 28.10.2016, 19:06
Re: Leg broken system +rep - by Konstantinos - 28.10.2016, 19:08
Re: Leg broken system +rep - by DemME - 28.10.2016, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)