06.07.2009, 14:40
Hey I have this problem.
when I enter the Checkpoint I freeze. That works good.
But when I hit space bar to unfreeze it doesnt work here is a piece of a code.
when I enter the Checkpoint I freeze. That works good.
But when I hit space bar to unfreeze it doesnt work here is a piece of a code.
pawn Код:
case 24:
{
SendClientMessage(playerid,0xFFFFFFFF,"[DEBUG]: Checkpoint ID: 14");
TogglePlayerControllable(playerid, false);
if(keys == KEY_SPRINT)
{
TogglePlayerControllable(playerid, true);
return 1;
}
}