[Include] entrance.inc - Create interiors easily
#5

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if ((newkeys & KEY_SECONDARY_ATTACK))
    {
        for (new Entrance:i; i < gTotalEntrances; i ++)
        {
            if (IsPlayerInRangeOfEntrance(playerid, i))
            {
You are using the streamer but not using the streamer at the same time let it do the work for you and use dynamic areas to detect when a player enters them. You can set the extraid to reference the teleport data array no more looping.

Your system is a start but lacks completion at this time. Fix it.
Reply


Messages In This Thread
entrance.inc - Create interiors easily - by 1sbedx - 09.05.2018, 21:15
Re: entrance.inc - Create interiors easily - by NewFreeroamStunt - 10.05.2018, 06:32
Re: entrance.inc - Create interiors easily - by Dayrion - 10.05.2018, 12:15
Re: entrance.inc - Create interiors easily - by CrystalGamer - 10.05.2018, 17:11
Re: entrance.inc - Create interiors easily - by Pottus - 10.05.2018, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)