GATES
#1

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);
            }
        }
pawn Код:
sangateoneobj = CreateObject(976, 773.7568359375, -1384.501953125, 12.858623504639, 0, 0, 0);
    sangateoneobj =  CreateObject(976, 774.02679443359, -1329.7847900391, 12.546875, 0, 0, 0); // This in the gates
Ok, so, i do /gate ig, nothing happens, Is it the IsPlayerInRangeOfPoint?, I am have been trying to fix.
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)