Gate Help
#8

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
pawn Код:
new Gate;
new bool:GateClosed;

if(!strcmp(cmdtext, "/Open", true))
{
        if(GateClosed)
        {
            if(IsPlayerInRangeOfPoint(playerid, 15.0, 0.0, 0.0, 0.0))
            {
                GateClosed = false;
                MoveObject(Gate, 2306.1000976563, 1383.0999755859, 12.39999961853, 3.0, 0.0, 0.0, 0.0);
                return 1;
            }
        }
        else
        {
            if(IsPlayerInRangeOfPoint(playerid, 15.0, 0.0, 0.0, 0.0))
            {
                GateClosed = true;
                MoveObject(Gate, 0.0, 0.0, 0.0, 3.0, 0.0, 0.0, 0.0);
                return 1;
            }
        }
}
I still get errors
Код:
C:\Users\Rose\Downloads\home.pwn(147) : warning 217: loose indentation
C:\Users\Rose\Downloads\home.pwn(150) : error 017: undefined symbol "cmdtext"
C:\Users\Rose\Downloads\home.pwn(154) : error 017: undefined symbol "playerid"
C:\Users\Rose\Downloads\home.pwn(163) : error 017: undefined symbol "playerid"
C:\Users\Rose\Downloads\home.pwn(171) : error 030: compound statement not closed at the end of file (started at line 5)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Gate Help - by coolmark1995 - 12.11.2012, 19:53
Re: Gate Help - by ThePhenix - 12.11.2012, 20:00
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:01
Re: Gate Help - by ThePhenix - 12.11.2012, 20:07
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:11
Re: Gate Help - by ThePhenix - 12.11.2012, 20:12
Re: Gate Help - by Face9000 - 12.11.2012, 20:24
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:27
Re: Gate Help - by Face9000 - 12.11.2012, 20:37
Re: Gate Help - by coolmark1995 - 12.11.2012, 20:59

Forum Jump:


Users browsing this thread: 1 Guest(s)