[Question]New Functions to samp and pawno
#14

Quote:
Originally Posted by MP2
View Post
You don't need a plugin to create a new function. You can create a new function like so..

pawn Code:
SomeFunction(args)
{
    // Some code
}
Though the 'stock' modifier is generally always used to avoid a 'symbol never used' warning:

pawn Code:
stock SomeFunction(args)
{
    // Some code
}
Also works in includes.

If you're asking how to create plugin functions.. there are many many many plugins released here, all with the source code. If you know much about C++, finding out how THEY did it shouldn't be too hard!
Hmmm, well I'm happy to see people who still helping newbies... ^^, My question is why do you think that he's a C++ programmer? He barely speak english, and program languages are based on english.
Reply


Messages In This Thread
[Question]New Functions to samp and pawno - by FruitNinja - 10.03.2013, 07:02
Re: [Question]New Functions to samp and pawno - by TheDeadlyDutchi - 10.03.2013, 15:37
Re: [Question]New Functions to samp and pawno - by FruitNinja - 10.03.2013, 15:51
Re: [Question]New Functions to samp and pawno - by MP2 - 10.03.2013, 16:50
Re: [Question]New Functions to samp and pawno - by Bakr - 10.03.2013, 16:51
Re: [Question]New Functions to samp and pawno - by MP2 - 10.03.2013, 17:02
Re: [Question]New Functions to samp and pawno - by FruitNinja - 10.03.2013, 18:59
Re: [Question]New Functions to samp and pawno - by TheDeadlyDutchi - 10.03.2013, 19:01
Re: [Question]New Functions to samp and pawno - by FruitNinja - 10.03.2013, 19:05
Re: [Question]New Functions to samp and pawno - by Yiin - 10.03.2013, 19:11
Re: [Question]New Functions to samp and pawno - by FruitNinja - 10.03.2013, 19:17
Re: [Question]New Functions to samp and pawno - by Bakr - 10.03.2013, 20:36
Re: [Question]New Functions to samp and pawno - by MP2 - 10.03.2013, 21:02
Re: [Question]New Functions to samp and pawno - by TheArcher - 10.03.2013, 21:16
Re: [Question]New Functions to samp and pawno - by Hoda - 10.03.2013, 21:24
Re: [Question]New Functions to samp and pawno - by davve95 - 10.03.2013, 21:33
Re: [Question]New Functions to samp and pawno - by Lorenc_ - 10.03.2013, 21:40
Re: [Question]New Functions to samp and pawno - by MP2 - 10.03.2013, 21:41
Re: [Question]New Functions to samp and pawno - by Babul - 10.03.2013, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)