[INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Oxside - 31.03.2009
DSS Include
What is it?
An include wich defines Dcmd, Sscanf and Strtok. So you have never define them!
Why should i use this?
Use this include te be sure you havent define evrything!
How to install/use?
1. Download
2. Put the dss.inc in your pawno/includes folder
3. add: #include <dss> at the top of your gm/fs
4. How to use look here: https://sampwiki.blast.hk/wiki/Dcmd
Download:
http://www.mediafire.com/?bu2sl2brxbw
Add this on the top of the .inc to remove wanrings:
Код:
#pragma unused strtok
#pragma unused dcmd
#pragma unused sscanf
Oxside
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Pyrokid - 31.03.2009
It's not hard to search for each function, copy, paste, and save it as a .inc yourself.
And I'm pretty sure if you don't use all three, you'll get warning telling you that they're not in use then people will come here asking why they have that warning.
Good try though.
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Luka P. - 31.03.2009
I test it,warning comes if u not using all functions
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Oxside - 31.03.2009
You must only include if you use it
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Luka P. - 31.03.2009
but if you use just 1 function of 3,you get warnings
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Oxside - 31.03.2009
Quote:
Originally Posted by ™ScorpioN
but if you use just 1 function of 3,you get warnings
|
Youre right maybe i can fix, somebody any idea?
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Donny_k - 31.03.2009
'stock' look it up in the pdf.
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
gijsmin - 31.03.2009
This is just a copy of the idea:
http://forum.sa-mp.com/index.php?topic=81065.0
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Oxside - 31.03.2009
Quote:
Originally Posted by Gijsmin
|
ooh i didn't kow there was already something:P
Quote:
Originally Posted by Donny
'stock' look it up in the pdf.
|
You mean i must look in the pdf stock to find how to fix that?
Where can i find that pdf, or do you mean strtock?
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
HB - 31.03.2009
Kind of unessesary.
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Nubotron - 31.03.2009
Add "stock" prefix to functions headers
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
G_ROW_Chez - 31.03.2009
why dont just
#include <dutils>
#include <dcmd>
or somethin? -_-
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Oxside - 31.03.2009
Could, but i was thinking of one include

But people now get warnings!
I think i found a way to fix the warnings moment!
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Luka P. - 01.04.2009
Better give us definitions of Dcmd , Sscanf & Strtok ... and if you need dcmd then you
define dcmd , else if you need sscanf then define sscanf & else if you need dcmd,sscanf & strtok then use your include...
I use strtok so i have defined strtok,i`m not using your include , when include be without warnings, then OK! i will use it !
But nice include,but easy to make...
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Littl3j0hNy - 01.04.2009
Hi,
Thats not a Include, thats are Script Functions and no more !
- LJ
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Luka P. - 01.04.2009
it has .inc , that is include! lol
but true,everything what you said
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Littl3j0hNy - 01.04.2009
Quote:
Originally Posted by ™ScorpioN
it has .inc , that is include! lol
but true,everything what you said
|
I can put 2 little functions into a File, and after that i create a INC.
But for 2 little functions i don't make a INC
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Luka P. - 01.04.2009
Quote:
Originally Posted by ★ 'Littlejohny' ★
Quote:
Originally Posted by ™ScorpioN
it has .inc , that is include! lol
but true,everything what you said
|
I can put 2 little functions into a File, and after that i create a INC.
But for 2 little functions i don't make a INC
|
there are 3 functions , not 2 
i don`t know how to create include,i try to 'read' some includes from my include folder and there is only:
natives
forwards
defines
Is include short way for define functions or ... ?
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Littl3j0hNy - 01.04.2009
Quote:
Originally Posted by ™ScorpioN
there are 3 functions , not 2 
|
The 2 was and example.
- LJ
Re: [INC] DSS (DCMD, Sscanf, Strtock) In One include! -
Oxside - 01.04.2009
So what

?
It is called: !!!!!!!!!!!!!!!!!!!!Include!!!!!!!!!!!!!!!!!!!
It works.....
(with some warnings)