26.02.2018, 04:02
Quote:
Please show me the code you're using, this can't be used without checking for the exact anim.
|
Код:
cmd:fixcar(playerid, params[]) { if(PI[playerid][pJob] == MECHANIC_MAN) { if(IsPlayerInAnyVehicle(playerid)) { SendClientMessageEx(playerid, RED, "You can not repair your car while in the car."); return 1; } if(GetPlayerAnimationIndex(playerid)) { SendClientMessageEx(playerid, RED, "Please check that you are taking any action."); return 1; } if(GetPlayerSpecialAction(playerid) != SPECIAL_ACTION_NONE) { SendClientMessageEx(playerid, RED, "Please check that you are taking any action."); return 1; } else { ApplyAnimation(playerid, "BD_FIRE", "wash_up", 4.0, 1, 0, 0, 0, 0, 1); SendClientMessageEx(playerid, GREEN, "You are starting to repair car."); return 1; } } return 1; }