[Help]automatic gates
#1

hello im making automatic gates with the guide from wiki:
https://sampwiki.blast.hk/wiki/Automatic_Gates
But i get these errors..
pawn Код:
(315) : error 017: undefined symbol "c_gate_status"
Line :
if(c_gate_status)MoveObject(mygate,96.619323730469,1921.5258789063,17.832668304443,1);



(313) : warning 204: symbol is assigned a value that is never used: "mygate_status"
Line:
if(IsPlayerInRangeOfPoint(i,10.0,96.61932373,1921.52587891,17.83266830))mygate_status=1;
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Please help me out since i am new to pawno,
need more info just ask me
Reply
#2

I dont want to sound big headed or whatever, but checkout some of the gate systems already on the forums, mine is in my signature.

And, you never created "c_gate_status"
Reply
#3

About second error "symbol is assigned a value that is never used": use this value or just delete "mygate_status=1;"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)