ZCMD AND STREAMER TOGETHER NOT WORK
#1

Hi.

When I write a script and i use ZCMD its ok, but when i write include streamer the command won't work.

In server i will say: SERVER: UNKNOWN COMMAND

And when i delete the streamert include from the top of the script (#include <streamer>) it will be work. Anyone can help me?
Reply
#2

Paste the code that is coming up with the error
Reply
#3

pawn Код:
#include <a_samp>
#include <streamer>
#include <sscanf2>
#include <zcmd>
#define FILTERSCRIPT
#define COLOR_RED 0xAA3333AA
#pragma tabsize 0
public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

CMD:try(playerid, params[])
{
    SendClientMessage(playerid, COLOR_RED, "Megy");
return SendClientMessage(playerid, COLOR_RED, "asdula");
}
Reply
#4

First of all:

Delete that "return SendClientMessage", the first one would be enough!

Now, maybe try to change the order of the includes like this:

PHP код:
#include <a_samp>
    #include <sscanf2>
    #include <zcmd>
    #include <streamer> 
By the way, check your include-folder again, sure that streamer and sscanf2 are there? Also, is sscanf2 updated to the version 2.5??
Reply
#5

Yeah everythings in the fine folder and sscanf2 has been updated. But with earlier versions don't work. So
Reply
#6

"fine folder"?? :O

Okay, so did you try the order I gave above? First "a_samp","sscanf2","zcmd" and then "streamer"??

Again, your command should only look like this for the first;

pawn Код:
CMD:try(playerid, params[])
{
      SendClientMessage(playerid, COLOR_RED,"It worked!!!");
}
So, then you should re-order your includes, what I said, to:

pawn Код:
#include <a_samp>
    #include <sscanf2>
    #include <zcmd>
    #include <streamer>
Reply
#7

Yeah i did it what u say.

Here is my full server.

http://www.mediafire.com/?7byna5cz2kz6f9n
Reply
#8

still doesn't work :/
Reply
#9

good morning. iam so free and have a look at your script. this issue cant be real, to be honest. cant wait to solve it...

edit: umm... you missed to add the following line in the server.cfg:
Код:
plugins streamer
..and now change your RCON password plox
and again, good morning ^^

edit2: argh, whats that in the server.cfg?
Код:
onfoot_rate 100
i know, you want a race server, but at least you could let low pingers drive smoother:
Код:
incar_rate 20
your OnPlayerUpdate() is empty, thats nice, so 1000ms/20ms update time equals a "fps" of 50. thats the framerate you want players drive at, right?
Reply
#10

I am lookin' at it, too...

By the way, you have any other folder with pawno, or the whole SAMP-server-package? If yes, delete it!

EDIT:
Ehh, how should the server know what "streamer" is??

Add this to your server configuration:

plugins streamer


EDIT 2: Shit, Babul was faster...Also, is it okay if he has ZCMD and YSI, both of them, included?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)