26.03.2014, 17:26
Hello, i've one problem with TogglePlayerControllable because i've set this params for freeze the player when he is dead.
How can i resolve this?
This is my script, thanks:
How can i resolve this?
This is my script, thanks:
PHP код:
SendClientMessage(playerid,COLOR_LIGHTRED,"Sei stato ferito. Perderai sempre piщ HP almeno che un medico non arrivi.");
SendClientMessage(playerid,COLOR_LIGHTRED,"Puoi usare /accettamorte tra 1 minuto. Per fermare l'attesa.");
TogglePlayerControllable(playerid,0);
ApplyAnimation(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0);
SetPlayerHealth(playerid,50);
death_hploss[playerid] = 60;
death_cooldown[playerid] = 60;