please solve this error 001
#1

I was trying to make someone can't get in the vehicle when he/she injured (for RP server)
and i found this error.
please fix this.

Код:
	if(IsKeyJustDown(KEY_SECONDARY_ATTACK, newkeys, oldkeys))
	{
	    if(GetPVarInt(playerid, "NGPassenger") == 1)
	    {
	        TogglePlayerSpectating(playerid, 0);
		}
		if(GetPVarInt(playerid, "UsingSprunk"))
		{
			DeletePVar(playerid, "UsingSprunk");
			SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
			}
		if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT || GetPVarInt(playerid, "Injured" == 1) // line 20111
		{
			ApplyAnimation(playerid, "ped", "KO_skid_front", 4.0, 0, 1, 1, 1, 0, 1);
			return 1;
		}
	}
Код:
AGRP.TMP(20111) : error 001: expected token: "-string end-", but found "-identifier-"
*Note: I am using PawnoX to script.
Reply


Messages In This Thread
please solve this error 001 - by Dirda - 31.01.2018, 12:50
Re: please solve this error 001 - by saffierr - 31.01.2018, 13:04
Re: please solve this error 001 - by Dirda - 31.01.2018, 14:00
Re: please solve this error 001 - by Sew_Sumi - 31.01.2018, 16:31

Forum Jump:


Users browsing this thread: 1 Guest(s)