[FilterScript] SA-MP Spike Strips
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
Why would you want to unload it?
I think it's better performance wise to have it as a filterscript. Filterscript is like an include file with the exception that you can unload it anytime and increase server performance (without the need to restart the server). Anyways, everyone has their own opinions.
Quote:
Originally Posted by MP2
Посмотреть сообщение
Anyway, I've tested it and it doesn't work. I added a print to print the value of 'distance' and it never goes below 0.24 - not even close. (Print was JUST before 'if (distance < 0.24)').

I've transferred the entire thing in to an inc, but I guarantee you I haven't 'broken' anything.

It doesn't seem to go below 0.6.

EDIT: Fixed by changing to this: if (distance < 1)
That's weird, what vehicle did you test? I tested like 50% vehicles and all worked fine.
Reply


Messages In This Thread
SA-MP Spike Strips - by Stylock - 02.07.2013, 22:51
Re: SA-MP Spike Strips - by MP2 - 02.07.2013, 23:12
Re: SA-MP Spike Strips - by Stylock - 02.07.2013, 23:19
Re: SA-MP Spike Strips - by MP2 - 02.07.2013, 23:40
Re: SA-MP Spike Strips - by Stylock - 03.07.2013, 00:16
Re: SA-MP Spike Strips - by MP2 - 03.07.2013, 00:17
Re: SA-MP Spike Strips - by Stylock - 03.07.2013, 00:18
Re: SA-MP Spike Strips - by MP2 - 03.07.2013, 00:19
Re: SA-MP Spike Strips - by Stylock - 03.07.2013, 10:19
Re: SA-MP Spike Strips - by Kyle - 03.07.2013, 10:26

Forum Jump:


Users browsing this thread: 2 Guest(s)