[Include] [INC] DSS (DCMD, Sscanf, Strtock) In One include!
#1

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

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

I test it,warning comes if u not using all functions
Reply
#4

You must only include if you use it
Reply
#5

but if you use just 1 function of 3,you get warnings
Reply
#6

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?
Reply
#7

'stock' look it up in the pdf.
Reply
#8

This is just a copy of the idea: http://forum.sa-mp.com/index.php?topic=81065.0
Reply
#9

Quote:
Originally Posted by Gijsmin
This is just a copy of the idea: http://forum.sa-mp.com/index.php?topic=81065.0
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?
Reply
#10

Kind of unessesary.
Reply
#11

Add "stock" prefix to functions headers
Reply
#12

why dont just
#include <dutils>
#include <dcmd>
or somethin? -_-
Reply
#13

Could, but i was thinking of one include
But people now get warnings!

I think i found a way to fix the warnings moment!
Reply
#14

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

Hi,
Thats not a Include, thats are Script Functions and no more !

- LJ
Reply
#16

it has .inc , that is include! lol
but true,everything what you said
Reply
#17

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
Reply
#18

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 ... ?
Reply
#19

Quote:
Originally Posted by ™ScorpioN
there are 3 functions , not 2
The 2 was and example.

- LJ
Reply
#20

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


Forum Jump:


Users browsing this thread: 3 Guest(s)