29.07.2016, 21:10
Did you know if I am freezed keys not work?
Well I have this commands
if(newkeys == KEY_LOOK_BEHIND)
{
SCM(playerid,-1,"You pressed 2");
if(IsPlayerInAnyVehicle(playerid))
cmd_lock(playerid,string);
}
well I want to do it when I am freezed, TogglePlayerControlable 0
but actuali I can't use onplayerkeystateshange when I am frezed, any idea please?
Well I have this commands
if(newkeys == KEY_LOOK_BEHIND)
{
SCM(playerid,-1,"You pressed 2");
if(IsPlayerInAnyVehicle(playerid))
cmd_lock(playerid,string);
}
well I want to do it when I am freezed, TogglePlayerControlable 0
but actuali I can't use onplayerkeystateshange when I am frezed, any idea please?