Make plugins in another programming language?
#1

Hi,

I'm writing my programs in PureBasic. This language is a very powerful programming language. At some parts it's faster than C++...
I can also create program libraries (.so/.dll) with PureBasic.

But is it also possible to write plugins for SAMP with this language?
I think I just have to know which functions were called by the server.
Reply
#2

It should be easier if this is realised.
Reply
#3

Quote:
Originally Posted by Programie
Hi,

I'm writing my programs in PureBasic. This language is a very powerful programming language. At some parts it's faster than C++...
I can also create program libraries (.so/.dll) with PureBasic.

But is it also possible to write plugins for SAMP with this language?
I think I just have to know which functions were called by the server.
You need to export functions like Supports, Load, Unload, AmxLoad, AmxUnload
Reply
#4

And which parameters were send to the functions?
And what should return these functions?

I mean somthing like that:

Quote:

FunctionName(Parameter1,Parameter2,...,ParameterN) ;

And this function has to return something (true, false, ...).
Reply
#5

Quote:
Originally Posted by Programie
And which parameters were send to the functions?
And what should return these functions?

I mean somthing like that:

Quote:

FunctionName(Parameter1,Parameter2,...,ParameterN) ;

And this function has to return something (true, false, ...).
Have a look at the SA-MP Plugin SDK, they are described there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)