Where would I stick this?
#1

Hello,

I want a message to be displayed when anyone enters a certain area. I've written this up:
pawn Код:
if(IsPlayerInRangeOfPoint( playerid, 10.0, 1486.0039,-1748.5117,15.4453))
                    {
                        if
                        {
                            SendClientMessage( playerid, RED, "A notice on the fence says:" );
                            SendClientMessage( playerid, RED, "City Hall is moved to the Burnsy Building." );
                            SendClientMessage( playerid, RED, "One block South West of Glen Park." );
                        }
                        else
                        {
                        return 0;
.

I'm not sure if this is right as I'm such a new scripter, but if it is right, where would I put it?

Cheers.
Reply
#2

OnPlayerText maybe?
Reply
#3

Looping timer or onPlayerUpdate
Reply
#4

Timer and a anti-spam variable.
Reply
#5

I'm happy with the script I have, as long as it'll do what I want it to, but where in my GM should I place it?

Cheers
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)