ZCMD AND STREAMER TOGETHER NOT WORK -
Scofield62 - 12.02.2012
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?
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
SnG.Scot_MisCuDI - 12.02.2012
Paste the code that is coming up with the error
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Scofield62 - 13.02.2012
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");
}
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Twisted_Insane - 13.02.2012
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??
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Scofield62 - 13.02.2012
Yeah everythings in the fine folder and sscanf2 has been updated. But with earlier versions don't work. So
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Twisted_Insane - 13.02.2012
"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>
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Scofield62 - 13.02.2012
Yeah i did it what u say.
Here is my full server.
http://www.mediafire.com/?7byna5cz2kz6f9n
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Scofield62 - 13.02.2012
still doesn't work :/
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Babul - 13.02.2012
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:
..and now change your RCON password plox
and again, good morning ^^
edit2: argh, whats that in the server.cfg?
i know, you want a race server, but at least you could let low pingers drive smoother:
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?
Re: ZCMD AND STREAMER TOGETHER NOT WORK -
Twisted_Insane - 13.02.2012
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?