problem with wiki tutorial
#3

C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(363 ) : warning 203: symbol is never used: "c_gate"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.





C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(46) : error 017: undefined symbol "c_gate"
C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(46) : error 017: undefined symbol "object_ID"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.







C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(363 ) : warning 203: symbol is never used: "OpenGate"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.




then where to put this code?

SetTimer("CheckGate", 500, true);






C:\PROGRA~1\ROCKST~1\SERVER~1\GAMEMO~1\new.pwn(24) : error 021: symbol already defined: "SetTimer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.




and this:
forward CheckGate();



and this:


public CheckGate()
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
if(!IsPlayerConnected(i)) continue;
if(PlayerToPoint(10.0, i, closed_X, closed_Y, closed_Z) && OpenGate[i] == 0)
{
MoveObject(c_gate, open_X, open_Y, open_Z);
OpenGate[i] = 1;
}
else if(!PlayerToPoint(10.0, i, closed_X, closed_Y, closed_Z) && OpenGate[i] == 1)
{
MoveObject(c_gate, closed_X, closed_Y, closed_Z);
OpenGate[i] = 0;
}
}
}
Reply


Messages In This Thread
problem with wiki tutorial - by Sfinx_17 - 23.08.2009, 10:00
Re: problem with wiki tutorial - by ronyx69 - 23.08.2009, 10:01
Re: problem with wiki tutorial - by Sfinx_17 - 23.08.2009, 10:20

Forum Jump:


Users browsing this thread: 1 Guest(s)