Enter and exit from house?!
#6

It ain`t that hard ... look:
pawn Код:
if ((newkeys & KEY_SECONDARY_ATTACK) && !(oldkeys & KEY_SECONDARY_ATTACK))
    {
        if(IsPlayerInRangeOfPoint(playerid, 3.0, X, Y, Z) // Change X, Y, Z with your house entrance coordinates
        {
                 // the rest of the code here...
        }
     }
Reply


Messages In This Thread
Enter and exit from house?! - by pliptm - 01.04.2011, 09:09
Re: Enter and exit from house?! - by HyperZ - 01.04.2011, 09:23
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 09:28
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 09:49
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 12:28
Re: Enter and exit from house?! - by antonio112 - 01.04.2011, 13:18
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 13:21
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 14:03
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 14:06
Re: Enter and exit from house?! - by pliptm - 01.04.2011, 14:09

Forum Jump:


Users browsing this thread: 5 Guest(s)