12.07.2012, 10:43
hey i try to create a gate system but i see some error please help.. it is:
F:\test.pwn(3) : error 010: invalid function or declaration
F:\test.pwn(5) : error 010: invalid function or declaration
F:\test.pwn(7) : error 010: invalid function or declaration
F:\test.pwn(10) : error 010: invalid function or declaration
F:\test.pwn(15) : error 010: invalid function or declaration
F:\test.pwn(17) : error 010: invalid function or declaration
F:\test.pwn(19) : error 010: invalid function or declaration
F:\test.pwn(22) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Errors.
And the Pwno:
F:\test.pwn(3) : error 010: invalid function or declaration
F:\test.pwn(5) : error 010: invalid function or declaration
F:\test.pwn(7) : error 010: invalid function or declaration
F:\test.pwn(10) : error 010: invalid function or declaration
F:\test.pwn(15) : error 010: invalid function or declaration
F:\test.pwn(17) : error 010: invalid function or declaration
F:\test.pwn(19) : error 010: invalid function or declaration
F:\test.pwn(22) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
8 Errors.
And the Pwno:
Код:
#include <a_samp> if(strcmp(cmdtext,"/opengate", true) == 0) { if (gTeam[playerid] == TEAM_GROVE) { if(PlayerToPoint(15.0, playerid,1706.4076,1607.4928,10.0097)) { MoveObject(gate, 980, 1705.96, 1607.40, 12.06, 0.00, 0.00); return 1; } } } if(strcmp(cmdtext,"/closegate", true) == 0) { if (gTeam[playerid] == TEAM_GROVE) { if(PlayerToPoint(15.0, playerid,1706.4076,1607.4928,10.0097)) { MoveObject(gate, 980, 1705.96, 1607.40, 12.06, 0.00, 0.00); return 1; } } }