[Tutorial] Creating an Automatic Gate
#8

Quote:
Originally Posted by hadzx
View Post
i get this error

Code:
C:\Users\Stephen-Laptop\Desktop\server samp - Copy\gamemodes\lvpg.pwn(719) : warning 235: public function lacks forward declaration (symbol "CheckGate")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
pawn Code:
forward CheckGate();
public CheckGate()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(IsPlayerInRangeOfPoint(i, 10.0, 1717.04809570,1298.18298340,11.49500275))
            {
                MoveObject(AutomaticGate, 1716.09643555,1293.90063477,11.49500275, 5.0);
            }
            else
            {
                MoveObject(AutomaticGate, 1717.04809570,1298.18298340,11.49500275, 5.0);
            }
        }
    }
}
Btw, nice tut.
Reply


Messages In This Thread
Creating an Automatic Gate - by [NWA]Hannes - 24.12.2010, 19:42
Re: Creating an Automatic Gate - by Noss* - 24.12.2010, 19:48
Re: Creating an Automatic Gate - by Mean - 25.12.2010, 16:12
Re: Creating an Automatic Gate - by Darien - 22.01.2011, 15:16
Re: Creating an Automatic Gate - by Legit_V20 - 23.01.2011, 07:12
Re: Creating an Automatic Gate - by [_Bo$$_] - 23.01.2011, 07:24
Re: Creating an Automatic Gate - by hadzx - 24.01.2011, 17:55
Re: Creating an Automatic Gate - by ExeC - 24.01.2011, 17:58
Re: Creating an Automatic Gate - by ricardo178 - 24.01.2011, 22:18
Re: Creating an Automatic Gate - by Haydz - 24.01.2011, 23:32
Re: Creating an Automatic Gate - by Darien - 31.01.2011, 17:50
Re: Creating an Automatic Gate - by ricardo178 - 31.01.2011, 19:54
Re: Creating an Automatic Gate - by buster_ - 07.02.2011, 17:11
Re: Creating an Automatic Gate - by SkizzoTrick - 07.02.2011, 17:13
Re: Creating an Automatic Gate - by MoDee - 12.02.2011, 12:12
AW: Creating an Automatic Gate - by MuLtiVaN - 12.02.2011, 21:54
Re: Creating an Automatic Gate - by Stunt_Guy - 13.02.2011, 16:28
Re: Creating an Automatic Gate - by justsomeguy - 25.02.2011, 17:37
Re: Creating an Automatic Gate - by Miralem - 25.02.2011, 17:50
Re: Creating an Automatic Gate - by justsomeguy - 25.02.2011, 18:19
Re: Creating an Automatic Gate - by Justinlampy - 03.03.2011, 23:40
Re: Creating an Automatic Gate - by Rolyy - 04.03.2011, 11:27
Re: Creating an Automatic Gate - by Ironboy - 04.03.2011, 11:32
Re: Creating an Automatic Gate - by ParaMedicalzZ - 04.03.2011, 11:34
Re: Creating an Automatic Gate - by justsomeguy - 05.03.2011, 20:45
Re: Creating an Automatic Gate - by tanush - 07.03.2011, 19:28
Re: Creating an Automatic Gate - by AH.1990 - 19.03.2011, 20:31
Re: Creating an Automatic Gate - by Davz*|*Criss - 19.03.2011, 20:51
Re: Creating an Automatic Gate - by rtyd - 10.04.2011, 11:55
Re: Creating an Automatic Gate - by juraska - 23.05.2011, 18:54
Re: Creating an Automatic Gate - by BaubaS - 23.05.2011, 22:18
Re: Creating an Automatic Gate - by Snipa - 23.05.2011, 23:44
Re: Creating an Automatic Gate - by Dennis_Sanchez - 31.05.2011, 15:59
Re: Creating an Automatic Gate - by Jack_Rocker - 03.06.2011, 10:00
Re: Creating an Automatic Gate - by Darnell - 10.08.2011, 06:10
Re: Creating an Automatic Gate - by Amel_PAtomAXx - 26.08.2011, 16:28
Re: Creating an Automatic Gate - by cs_waller - 30.12.2011, 20:31
Re : Creating an Automatic Gate - by Heni - 01.01.2013, 10:09
Re: Re : Creating an Automatic Gate - by [NWA]Hannes - 02.01.2013, 20:49
Re : Creating an Automatic Gate - by Heni - 03.01.2013, 09:54
Re: Creating an Automatic Gate - by ata001 - 29.09.2018, 16:26

Forum Jump:


Users browsing this thread: 2 Guest(s)