[Question]New Functions to samp and pawno
#1

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.
Reply
#2

ew, dat wall of text and grammar
Reply
#3

What?
Reply
#4

Unreadable text is unreadable.
Reply
#5

I don't think there's any need to add anymore functionality to the Pawno IDE.
Reply
#6

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).
Reply
#7

Yes, but I do not know how to
create functions.
Reply
#8

Quote:
Originally Posted by FruitNinja
View Post
Yes, but I do not know how to
create functions.
Is your enter button broken, sir?
Reply
#9

I do not understand what's
wrong with it?
Reply
#10

everybody has ideas, not just you.

Quote:
Originally Posted by FruitNinja
View Post
I do not understand what's
wrong with it?
hard to read
text
like
this
Reply
#11

Sorry I am a Pole and a translator (******) deforms the text. How to create a new
function to pawno?
Reply
#12

Quote:
Originally Posted by MP2
View Post
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.

Reply
#13

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!
Reply
#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
#15

Quote:
Originally Posted by TheArcher
View Post
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.
Reply
#16

Or maybe he's planning to learn C++ and English..
Reply
#17

Wrote this on a mobile phone?
Reply
#18

Quote:
Originally Posted by TheArcher
View Post
why do you think that he's a C++ programmer?
Because he said so.
Reply
#19

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)