GATES
#8

You don't get the message (" IsPlayerInRangeOfPoint works!")? if not then you put the wrong pos.
Have you tried mine?

EDIT:
Try this
pawn Код:
if(IsPlayerInRangeOfPoint(playerid,9,778.0752,-1329.9805,13.5469)) //This is in the middle of the gate at SANNews
        { //News Agency
            if(!IsANewsReporter(playerid)) return SendClientMessage(playerid,COLOR_GREY,"   You are not a {000000}News Reporter!");
            if(sangate == 0)
            {
                sangate = 1;
                MoveObject(sangateoneobj, 289.919067, -1547.427734, 27.193420, 1.500000);
            }
            else if(sangate == 1)
            {
                sangate = 0;
                MoveObject(sangateoneobj, 283.870544, -1543.398804, 27.193420, 1.500000);
            }
        }
else
        {
            SendClientMessage(playerid,0xFFFFFFFF," You put the wrong pos!");
        }
Also make sure you put return 1;
Reply


Messages In This Thread
GATES - by Riddy - 19.06.2011, 23:03
Re: GATES - by abubaker98 - 19.06.2011, 23:53
Re: GATES - by Riddy - 20.06.2011, 12:57
Re: GATES - by Riddy - 20.06.2011, 18:39
Re: GATES - by *IsBack - 20.06.2011, 18:43
Re: GATES - by =WoR=Varth - 20.06.2011, 18:48
Re: GATES - by Riddy - 20.06.2011, 21:18
Re: GATES - by =WoR=Varth - 20.06.2011, 22:09
Re: GATES - by DRIFT_HUNTER - 21.06.2011, 00:26
Re: GATES - by Smurf[SMURF] - 21.06.2011, 05:49

Forum Jump:


Users browsing this thread: 1 Guest(s)