SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 01/08/2011, 01:24 PM   #21
JackBauer.
Little Clucker
 
Join Date: Feb 2011
Posts: 21
Reputation: 5
Default Re: MapAndreas Include

Awesome job, really usefull! waiting to see the speedtest between the plugin and the include.
JackBauer. is offline   Reply With Quote
Old 01/08/2011, 01:34 PM   #22
RyDeR`
High-roller
 
RyDeR`'s Avatar
 
Join Date: Feb 2009
Location: Belgium
Posts: 2,929
Reputation: 696
Default Re: MapAndreas Include

Sure:
Code:
Plugin executed 100.000 times in 31 ms
Include executed 100.000 times in 918 ms
Like I already said ~30 times slower. The explanation is on the first page.
__________________

Sup?
RyDeR` is offline   Reply With Quote
Old 01/08/2011, 02:03 PM   #23
TheArcher
High-roller
 
TheArcher's Avatar
 
Join Date: Dec 2009
Location: Home
Posts: 2,338
Reputation: 251
Default Re: MapAndreas Include

The speed might be improved?

P.S Nice include
__________________
TheArcher is offline   Reply With Quote
Old 01/08/2011, 03:07 PM   #24
Drebin
High-roller
 
Drebin's Avatar
 
Join Date: Oct 2010
Location: Germany
Posts: 1,101
Reputation: 560
Default AW: MapAndreas Include

Sexy !
Well done sir
__________________


GamerX - The SA-MP legend.
Online since 2006.

188.165.219.63:8800
www.gamerxserver.com
Drebin is offline   Reply With Quote
Old 01/08/2011, 10:06 PM   #25
RyDeR`
High-roller
 
RyDeR`'s Avatar
 
Join Date: Feb 2009
Location: Belgium
Posts: 2,929
Reputation: 696
Default Re: MapAndreas Include

Quote:
Originally Posted by Anthony_prince View Post
The speed might be improved?

P.S Nice include
I'm currently testing some things to possibly improve this. I will write it here if I have something.

Thanks.
__________________

Sup?
RyDeR` is offline   Reply With Quote
Old 02/08/2011, 09:36 AM   #26
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,802
Reputation: 1160
Default Re: MapAndreas Include

pawn Code:
stock MapAndreas_FindZ_For2DCoord(Float:X, Float:Y, &Float:Z) return GetPointZPos(X, Y, Z);

Little function redefining the function to the actual mapandreas plugin for lazy people that cannot be bothered to convert it (replace)

^ Thats me btw xD ( I use MapAndreas frequently... )

Thanks so much RyDeR`
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline   Reply With Quote
Old 02/08/2011, 09:55 AM   #27
RyDeR`
High-roller
 
RyDeR`'s Avatar
 
Join Date: Feb 2009
Location: Belgium
Posts: 2,929
Reputation: 696
Default Re: MapAndreas Include

pawn Code:
#define MapAndreas_FindZ_For2DCoord GetPointZPos
Should work too.

Thanks for your liking.
__________________

Sup?
RyDeR` is offline   Reply With Quote
Old 02/08/2011, 10:07 AM   #28
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,802
Reputation: 1160
Default Re: MapAndreas Include

Quote:
Originally Posted by RyDeR` View Post
pawn Code:
#define MapAndreas_FindZ_For2DCoord GetPointZPos
Should work too.

Thanks for your liking.
Ohh, I'm dumb lol. Forgot about that as well!
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline   Reply With Quote
Old 02/08/2011, 10:35 AM   #29
TheArcher
High-roller
 
TheArcher's Avatar
 
Join Date: Dec 2009
Location: Home
Posts: 2,338
Reputation: 251
Default Re: MapAndreas Include

Quote:
Originally Posted by RyDeR` View Post
pawn Code:
#define MapAndreas_FindZ_For2DCoord GetPointZPos
Should work too.

Thanks for your liking.
Possibly can use macros instead this, no?
__________________
TheArcher is offline   Reply With Quote
Old 02/08/2011, 10:39 AM   #30
RyDeR`
High-roller
 
RyDeR`'s Avatar
 
Join Date: Feb 2009
Location: Belgium
Posts: 2,929
Reputation: 696
Default Re: MapAndreas Include

Quote:
Originally Posted by Anthony_prince View Post
Possibly can use macros instead this, no?
I'm sorry, I didn't understand your question quite well. Can you try otherwise?
__________________

Sup?
RyDeR` is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] MapAndreas plugin v1.0 beta Kalcor Plugin Development 262 06/09/2017 09:05 PM
[FilterScript] [FS] Bomber script / MapAndreas usage example krisk Filterscripts 32 11/07/2011 11:02 AM
Need <mapandreas> include newnewnew Help Archive 2 12/01/2011 07:29 PM
mapandreas.dll problem ? Rocky Balboa Help Archive 6 11/07/2010 05:45 PM


All times are GMT. The time now is 06:05 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.