Enter and Exit help
#2

This should be correct:

pawn Код:
public OnPlayerStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK))
    {
        //Whatever you would do for the /enter, check if they are in range, etcetra
    }
    return 1;
}
Reply


Messages In This Thread
Enter and Exit help - by Ryan_Michael - 25.07.2012, 05:18
Re: Enter and Exit help - by Kindred - 25.07.2012, 05:23
Re: Enter and Exit help - by Ryan_Michael - 25.07.2012, 05:25

Forum Jump:


Users browsing this thread: 1 Guest(s)