09.06.2012, 03:06
pawn Код:
if ((GetTickCount() - g_tCrackTick[playerid]) > 15000)
{
SetPlayerHealth(playerid, 21);
TogglePlayerControllable(playerid, true);
ApplyAnimation(playerid,"PED","getup_front",5.0,0,1,1,1,1,1);
SendClientMessage(playerid, 0x4AF8FF, " You've successfully got up! Remember to roleplay your injuries. ");
g_bCrackState[playerid] = 0;
g_tCrackTick[playerid] = GetTickCount();//add this.
}
BTW: Hi John Mitchell.