OnPlayerKeyStateChange help
#3

Just put it under the same place. This is an example:

pawn Код:
if(newkeys == KEY_SECONDARY_ATTACK)
{
    if(IsPlayerInRangeOfPoint(playerid, HousePosX, HousePosY, HousePosZ, 5))
    {
        //do Something if at enter pos
    }
    else if(IsPlayerInRangeOfPoint(playerid, HouseExitPosX, HouseExitPosY, HouseExitPosZ, 5))
    {
        //Do something if at exit pos
    }
}
Reply


Messages In This Thread
OnPlayerKeyStateChange help - by aaronwelsh - 16.08.2012, 01:41
Re : OnPlayerKeyStateChange help - by Naruto_Emilio - 16.08.2012, 01:46
Re: OnPlayerKeyStateChange help - by Kindred - 16.08.2012, 01:47
Re: Re : OnPlayerKeyStateChange help - by aaronwelsh - 16.08.2012, 01:52
Re: OnPlayerKeyStateChange help - by SaYrOn - 16.08.2012, 09:21

Forum Jump:


Users browsing this thread: 1 Guest(s)