[Question]New Functions to samp and pawno -
FruitNinja - 10.03.2013
Hello, for a long time to
program in C + +, and the
head fell into my idea. I got the
idea to enlarge opportunities
and samp pawno. Pawno
programmer will have big big
opportunities. For example, a
normal samp does not offer a
possibility to upload pictures,
and I have an idea how this
functions to give. Uploading
photos is just one of hundreds
of my ideas. And investigation
into the problem. I do not
know how to create a version
for the player and the server.
How to add new features to
pawno? Plugin must have a
version of the player and the
server, something like a audio
plugin.
Re: [Question]New Functions to samp and pawno -
TheDeadlyDutchi - 10.03.2013
ew, dat wall of text and grammar
Re: [Question]New Functions to samp and pawno -
FruitNinja - 10.03.2013
What?
Re: [Question]New Functions to samp and pawno -
MP2 - 10.03.2013
Unreadable text is unreadable.
Re: [Question]New Functions to samp and pawno -
Bakr - 10.03.2013
I don't think there's any need to add anymore functionality to the Pawno IDE.
Re: [Question]New Functions to samp and pawno -
MP2 - 10.03.2013
He's not talking about Pawno. He's talking about adding new features to SA-MP. One that he mentions is uploading images. I assume he wants to show custom images on-screen. This would only be possible with a client-side plugin like with the Audio plugin (as you guessed correctly).
Re: [Question]New Functions to samp and pawno -
FruitNinja - 10.03.2013
Yes, but I do not know how to
create functions.
Re: [Question]New Functions to samp and pawno -
TheDeadlyDutchi - 10.03.2013
Quote:
Originally Posted by FruitNinja
Yes, but I do not know how to
create functions.
|
Is your enter button broken, sir?
Re: [Question]New Functions to samp and pawno -
FruitNinja - 10.03.2013
I do not understand what's
wrong with it?
Re: [Question]New Functions to samp and pawno -
Yiin - 10.03.2013
everybody has ideas, not just you.
Quote:
Originally Posted by FruitNinja
I do not understand what's
wrong with it?
|
hard to read
text
like
this
Re: [Question]New Functions to samp and pawno -
FruitNinja - 10.03.2013
Sorry I am a Pole and a translator (******) deforms the text. How to create a new
function to pawno?
Re: [Question]New Functions to samp and pawno -
Bakr - 10.03.2013
Quote:
Originally Posted by MP2
He's not talking about Pawno. He's talking about adding new features to SA-MP. One that he mentions is uploading images. I assume he wants to show custom images on-screen. This would only be possible with a client-side plugin like with the Audio plugin (as you guessed correctly).
|
Yes, I know...
Quote:
Hello, for a long time to
program in C + +, and the
head fell into my idea. I got the
idea to enlarge opportunities
and samp pawno. Pawno
programmer will have big big
opportunities. For example, a
normal samp does not offer a
possibility to upload pictures,
and I have an idea how this
functions to give. Uploading
photos is just one of hundreds
of my ideas. And investigation
into the problem. I do not
know how to create a version
for the player and the server.
How to add new features to
pawno? Plugin must have a
version of the player and the
server, something like a audio
plugin.
|
Re: [Question]New Functions to samp and pawno -
MP2 - 10.03.2013
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!
Re: [Question]New Functions to samp and pawno -
TheArcher - 10.03.2013
Quote:
Originally Posted by MP2
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.
Re: [Question]New Functions to samp and pawno -
Hoda - 10.03.2013
Quote:
Originally Posted by TheArcher
program languages are based on english.
|
I know hundreds good programmers who don't know even what 'new' means !
It's based on logic, at least more than English.
Re: [Question]New Functions to samp and pawno -
davve95 - 10.03.2013
Or maybe he's planning to learn C++ and English..
Re: [Question]New Functions to samp and pawno -
Lorenc_ - 10.03.2013
Wrote this on a mobile phone?
Re: [Question]New Functions to samp and pawno -
MP2 - 10.03.2013
Quote:
Originally Posted by TheArcher
why do you think that he's a C++ programmer?
|
Because he said so.
Re: [Question]New Functions to samp and pawno -
Babul - 10.03.2013
download the SAMP SDK and install it to your C(++) IDE, read some tutorials, like the
Plugin development guide by Kyosaur, grab the
Audio Plugin (including source indeed), it contains a client .executable in order to let a player download content, directed by the server script, using custom functions provided to pawn.