04.12.2009, 18:16
Quote:
#if defined FILTERSCRIPT #include <a_samp> forward GateCheck(); new mygate; public OnFilterscriptInit() { mygate=CreateObject(16775, 2063.2603, -2600.1406, 16.5461, 0.0000, 0.0000, 33.5180, 500.0); SetTimer("GateCheck",1000,1); } public GateCheck() { new openmygate; for(new playerid;playerid<MAX_PLAYERS;playerid++) { if(IsPlayerInRangeOfPoint(playerid,10.0,2063.2603, -2600.1406, 16.5461)openmygate=1; if(openmygate)MoveObject(mygate,2063.2507, -2600.1677, 8.5313); else MoveObject(mygate,2063.2603, -2600.1406, 16.5461); } error 001: expected token: "#endif", but found "-end of file-" error 013: no entry point (no public functions) |