SA-MP Forums Archive
What's Wrong with Sscanf? (Help = +REP) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What's Wrong with Sscanf? (Help = +REP) (/showthread.php?tid=467066)



What's Wrong with Sscanf? (Help = +REP) - Alex_Obando - 01.10.2013

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>
//No sscanf2 included






public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
Код:
--------------------------------------
[22:30:26]  Blank Filterscript by your name here
[22:30:26] --------------------------------------

[22:30:26]   Filterscript 'PTPM2.amx' loaded.

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>
#include <sscanf2> //Sscanf2 included






public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
Код:
Console input: Okay Reloading
Console input: reloadfs PTPM2
[22:34:36]   Filterscript 'PTPM2.amx' unloaded.
[22:34:36]   Filterscript 'PTPM2.amx' loaded.



Re: What's Wrong with Sscanf? (Help = +REP) - Bit - 01.10.2013

And.. how does that effect the script?

((Sometimes, if you include sscanf and not actually use it in the mode gives random errors, so I suggest to use the includes when needed))


Respuesta: What's Wrong with Sscanf? (Help = +REP) - Alex_Obando - 01.10.2013

Im going to make a sscanf script btw, and once i load it its not working.


Re: What's Wrong with Sscanf? (Help = +REP) - Mattakil - 01.10.2013

I don't get it...whats the problem? Also, did you add sscanf to plugins, and define it in your server.cfg?

plugins sscanf2

That should be in server.cfg


Respuesta: Re: What's Wrong with Sscanf? (Help = +REP) - Alex_Obando - 01.10.2013

Quote:
Originally Posted by Mattakil
Посмотреть сообщение
I don't get it...whats the problem? Also, did you add sscanf to plugins, and define it in your server.cfg?

plugins sscanf2

That should be in server.cfg
Forgot that +1 Rep