Player Loop Question ?
#7

Like MP2 said.

pawn Code:
new some_area = CreateDynamicRectangle(...);

public OnPlayerEnterDynamicArea(playerid, areaid)
{
    if(areaid == some_area)
    {
        SendClientMessage(playerid, -1, "you are in");//this will be sent once and wont spam
    }
    return 1;
}
It would require a lot more code to do it properly inside OnPlayerUpdate which i haven't got the time to write and test.
Reply


Messages In This Thread
Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:00
Re: Player Loop Question ? - by MP2 - 06.07.2012, 11:03
Re: Player Loop Question ? - by iggy1 - 06.07.2012, 11:04
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:07
Re: Player Loop Question ? - by iggy1 - 06.07.2012, 11:08
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:10
Re: Player Loop Question ? - by iggy1 - 06.07.2012, 11:16
Re: Player Loop Question ? - by Roko_foko - 06.07.2012, 11:20
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:23
Re: Player Loop Question ? - by Mr.Fames - 06.07.2012, 11:25

Forum Jump:


Users browsing this thread: 2 Guest(s)