AutomicGate System - 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)
+--- Thread: AutomicGate System (
/showthread.php?tid=665128)
AutomicGate System -
sonn51280 - 23.03.2019
https://pastebin.com/JUcbKCha?fbclid...HUgprS0vRi25Yg
why not active ?
Sorry i bad english
Re: AutomicGate System -
Chilli9434 - 23.03.2019
What is the actual issue? "why not active" isn't really descriptive.
Re: AutomicGate System -
sonn51280 - 23.03.2019
Quote:
Originally Posted by Chilli9434
What is the actual issue? "why not active" isn't really descriptive.
|
if(IsPlayerInRangeOfPoint(i, 10.0, 1817.0948, -1890.4753, 13.4163) && GateOpen == 0)
I'm go to IsPlayerInRangeOfPoint no operation ?, default RangeOfPoint to work
Re: AutomicGate System -
Heress - 23.03.2019
SetTimer("GatesOpen",10000,1);
So when you strem in that distance, you must wait about 10s when sever check your range from point.
Re: AutomicGate System -
sonn51280 - 23.03.2019
Quote:
Originally Posted by Chilli9434
What is the actual issue? "why not active" isn't really descriptive.
|
Quote:
Originally Posted by Heress
SetTimer("GatesOpen",10000,1);
So when you strem in that distance, you must wait about 10s when sever check your range from point.
|
are you sure
Re: AutomicGate System -
Heress - 23.03.2019
Quote:
Originally Posted by sonn51280
are you sure
|
Yes, because 10000 is 10 seconds.
Re: AutomicGate System -
Heress - 23.03.2019
https://pastebin.com/e8CQNqFs
try this, but i'm not sure. You have "public InitiateGamemode()" why not OnGameModeInit?
if it dont work, change:
public InitiateGamemode() >> public OnGameModeInit()
Re: AutomicGate System -
sonn51280 - 23.03.2019
yeah has been active,
xD, Gate can't go sideways
Re: AutomicGate System -
sonn51280 - 23.03.2019
https://www.youtube.com/watch?v=PcOD5AThnFE
Re: AutomicGate System -
Heress - 23.03.2019
so you fixed it?
Re: AutomicGate System -
sonn51280 - 23.03.2019
has been fixed , I'm like
https://www.youtube.com/watch?v=PcOD5AThnFE can you help me
Re: AutomicGate System -
sonn51280 - 23.03.2019
......
Re: AutomicGate System -
SiaReyes - 23.03.2019
Quote:
Originally Posted by sonn51280
|
What is the issue?
if your issue is speed of object moving, reduce the timer from 1000 to 900-990.
Re: AutomicGate System -
sonn51280 - 23.03.2019
do you check video please!
Re: AutomicGate System -
Heress - 23.03.2019
Quote:
Originally Posted by sonn51280
do you check video please!
|
So what's the problem? can you explain?
Re: AutomicGate System -
sonn51280 - 24.03.2019
I'm has been fixed thanks you,
#Close