SA-MP Forums Archive
Area size where /opengate works(Help!) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Area size where /opengate works(Help!) (/showthread.php?tid=129963)



Area size where /opengate works(Help!) - sass839 - 24.02.2010

HI!
I have a line and it's under /opengate command

if (PlayerToPoint(15, playerid,653.94879150391,-1318.6099853516,15.234329223633))

My question is that how can i change the area size, so when im mile way i can still use command /opengate on that gate

Sorry for bad english, hope you know what i'm talking about.


Re: Area size where /opengate works(Help!) - Omecken - 24.02.2010

Change 15 to a higher number.
Quote:

if (PlayerToPoint(15, playerid,653.94879150391,-1318.6099853516,15.234329223633))




Re: Area size where /opengate works(Help!) - sass839 - 24.02.2010

Ohh.. Thank you very much!