Use publics inside a plugin
#13

I still find invoke to be the cleaner method. It seems like hell of a lot less effort and its working with every type of parameter (int, float, string, reference, and what i hate to call a "reference string" (GetPlayerName)). All it asks for is that these functions are used somewhere in the script.

There are bits that im not able to understand when it comes to zeex's script i'll admit (Im not the best in C++), but its pretty interesting.

Quote:
Originally Posted by me-borno
Посмотреть сообщение
Lol, Thanks to you all!
This might even work out after all :P

(a friend of mine came with the idea to put the whole server inside a DLL... lol.. (I wont do it either :P))
My entire GM is in a plugin. There are definitely some pros and cons to having this. The main benefit is that you have a TON of things available to you that arent available in PAWN, the cons are of course a reduction in speed due to communication with PAWN (i find this generally evens out though, so its not that big of a deal).

I say if your comfortable in c++, and think you can handle it, give it a shot :P.
Reply


Messages In This Thread
How to use Natives inside a Plugin - by me-borno - 30.06.2011, 06:53
Re: Use publics inside a plugin - by Benzodiazepine™ - 30.06.2011, 07:49
Re: Use publics inside a plugin - by 0x5A656578 - 30.06.2011, 13:37
Re: Use publics inside a plugin - by me-borno - 30.06.2011, 20:34
Re: Use publics inside a plugin - by Pghpunkid - 30.06.2011, 20:37
How to use Natives inside a Plugin - by me-borno - 07.07.2011, 21:40
Re: How to use Natives inside a Plugin - by Kyosaur - 07.07.2011, 21:55
Re: How to use Natives inside a Plugin - by me-borno - 07.07.2011, 22:09
Re: How to use Natives inside a Plugin - by Kyosaur - 07.07.2011, 22:16
Re: Use publics inside a plugin - by 0x5A656578 - 08.07.2011, 05:05
Re: Use publics inside a plugin - by Kyosaur - 08.07.2011, 05:22
Re: Use publics inside a plugin - by me-borno - 08.07.2011, 09:29
Re: Use publics inside a plugin - by Kyosaur - 08.07.2011, 18:09
Re: Use publics inside a plugin - by me-borno - 08.07.2011, 18:24
Re: Use publics inside a plugin - by 0x5A656578 - 12.07.2011, 10:14
Re: Use publics inside a plugin - by 0x5A656578 - 12.07.2011, 10:32
Re: Use publics inside a plugin - by Incognito - 12.07.2011, 10:42
Re: How to use Natives inside a Plugin - by Mauzen - 24.07.2011, 12:32
Re: How to use Natives inside a Plugin - by Kyosaur - 24.07.2011, 18:45

Forum Jump:


Users browsing this thread: 2 Guest(s)