sscanf and zcmd
#1

Hi,

It's any difference i include sscanf2 or zcmd first?

#include sscanf2
#include zcmd

or

#include zcmd
#include sscanf2

?

Next question:

can i use how many times sscanf for ex cmdtext it's will be not modificated?

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
       sscanf(cmdtext, "...", ...);
//actions
  
       sscanf(cmdtext, "...", ...);
//actions



       sscanf(cmdtext, "...", ...);
//actions

       return 1;
}
Reply
#2

You include like this..
PHP код:
#include <zcmd>
#include <sscanf2> 
And u Make a command like this

PHP код:
CMD:Test(playerid,params[])
{
//Do stuff
return 1;

if is that what u mean
Reply
#3

No i just asking what include first zcmd or sscanf it's difference what include first
Reply
#4

Quote:
Originally Posted by ScIrUsna
Посмотреть сообщение
No i just asking what include first zcmd or sscanf it's difference what include first
either one could include first it doesnt matter...
Reply
#5

Two includes does not hook at same things so it doesn't matter witch one you include first.
You can use sscanf as may times you want.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)