13.12.2014, 22:05
How can I set someone to use KEY_HANDBRAKE ( while on foot ) when they press KEY_WALK?
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_WALK)
{
ApplyAnimation(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 1, 1);
return 1;
}
return true;
}