31.01.2018, 12:50
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.
*Note: I am using PawnoX to script.
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-"