OnPlayerKey Same Keys?
#1

Hello,

I have a problem with my script.
What happens is if i press the Look behind key it says the error message that i have in KEY_SUB.
pawn Код:
if (newkeys & KEY_SUBMISSION)
{
    if(IsPlayerInPoliceVehicle(playerid)==1)
    {
         return 1;
    }
    else
    {
    //error message
    }
    return 1;
}
else if (newkeys & KEY_LOOK_BEHIND)
{
//other stuff
}
How can i fix this?
Noo i dont have this error message in KEY_LOOK_BEHIND.

Admigo
Reply


Messages In This Thread
OnPlayerKey Same Keys? - by Admigo - 15.03.2014, 17:57
AW: OnPlayerKey Same Keys? - by BigETI - 15.03.2014, 17:59
Re: OnPlayerKey Same Keys? - by Vince - 15.03.2014, 18:14
Re: AW: OnPlayerKey Same Keys? - by Admigo - 15.03.2014, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)