if statement help
#1

i cant seem to get it to detect if the gate is open or shut, this is the code I'm using, it compiles OK but does nothing in-game. The problem is between lines 400 and 429, Thanks.
Reply
#2

Possibly these lines:
pawn Code:
if IsPlayerInRangeOfPoint(playerid, 5, 1544.6999511719, -1630.6999511719, 13.10000038147)
*then
{
Should be like this:
pawn Code:
if(IsPlayerInRangeOfPoint(playerid, 5, 1544.6999511719, -1630.6999511719, 13.10000038147))
{
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)