Nice way to make entrances?
#1

Hi, i wan't to make entrances. I have function which check's if player is in entrance.

pawn Код:
stock IsEntrance(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, HOTEL))
    {
        // bla bla bla
        return 1;
    }
    else if(IsPlayerInRangeOfPoint(playerid, 7.0, BANK))
    {
        // bla bla bla
        return 1;
    }
    // here is more checks
    return 1;

}
And i have a lot's of coordinates:

pawn Код:
#define BANK                                                    -2173.61,679.821,55.1645
#define HOTEL                                                       -1605.5,711.163,13.8672
...
...
...
Feel free to suggest a nice and best way to make entrances. Is it possible to use case in this situation?
Reply


Messages In This Thread
Nice way to make entrances? - by ajwar - 13.02.2011, 20:47
Re: Nice way to make entrances? - by park4bmx - 13.02.2011, 21:16
Re: Nice way to make entrances? - by ajwar - 13.02.2011, 21:31
Re: Nice way to make entrances? - by ajwar - 14.02.2011, 09:37
Re: Nice way to make entrances? - by iggy1 - 14.02.2011, 09:45
Re: Nice way to make entrances? - by park4bmx - 14.02.2011, 17:19
Re: Nice way to make entrances? - by ajwar - 14.02.2011, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)