[HELP] Automatic Gates
#8

Quote:

#include <a_samp>
forward GateCheck();
new mygate;
public OnFilterscriptInit()
{
mygate=CreateObject(16775, 2063.260254, -2600.140625, 16.546091, 0.0000, 0.0000, 33.5180);
SetTimer("GateCheck",1000,1);
}
public GateCheck()
{
new openmygate;
for(new playerid;playerid<MAX_PLAYERS;playerid++)
{
if (IsPlayerInRangeOfPoint(playerid,10.0,2063.260254, -2600.140625, 16.546091))openmygate=1;
}
if(openmygate)MoveObject(mygate,2063.250732, -2600.167725, 8.531250);
else MoveObject(mygate,2063.260254, -2600.140625, 16.546091);
}

pwn(11) : warning 235: public function lacks forward declaration (symbol "OnFilterscriptInit")
pwn(23) : warning 202: number of arguments does not match definition
pwn(24) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.


No errors



not good! gate do not open!!
Reply


Messages In This Thread
[HELP] Automatic Gates - by Coltt29 - 03.12.2009, 16:51
Re: [HELP] Automatic Gates - by Rzzr - 03.12.2009, 17:40
Re: [HELP] Automatic Gates - by Joe Staff - 03.12.2009, 22:41
Re: [HELP] Automatic Gates - by Coltt29 - 04.12.2009, 13:23
Re: [HELP] Automatic Gates - by Joe Staff - 04.12.2009, 17:59
Re: [HELP] Automatic Gates - by Coltt29 - 04.12.2009, 18:16
Re: [HELP] Automatic Gates - by Joe Staff - 04.12.2009, 19:17
Re: [HELP] Automatic Gates - by Coltt29 - 05.12.2009, 12:58

Forum Jump:


Users browsing this thread: 1 Guest(s)