Looking to make a player unable to sprint after they break their leg.
#3

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Just perform the keys check once.
Modify the check:
pawn Код:
if (PLAYER_BROKEN_LEGS[playerid] == true && GetPlayerState(playerid) == 1 && HOLDING(KEY_SPRINT))
{
}
Player can still hold the key and sprint. However, they can't spam press it which is good.
Reply


Messages In This Thread
Looking to make a player unable to sprint after they break their leg. - by rangerxxll - 22.10.2015, 03:26
Re: Looking to make a player unable to sprint after they break their leg. - by Gammix - 22.10.2015, 03:44
Re: Looking to make a player unable to sprint after they break their leg. - by rangerxxll - 22.10.2015, 05:29
Re: Looking to make a player unable to sprint after they break their leg. - by Gammix - 22.10.2015, 07:55

Forum Jump:


Users browsing this thread: 2 Guest(s)