What's Wrong with Sscanf? (Help = +REP)
#1

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

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

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)