Help !! , one work cmd -
morocco - 22.02.2013
Hi guys
Please help me , i have probleme
if i add any filterscripts , only Cmd fliterscript working and Cmd gamemode no work
Help me , Pleasee!!!!
<<< Sorry for my english >>>
Re: Help !! , one work cmd -
antonio112 - 22.02.2013
Well, how about giving us some details? Like, what command processor you're using in your gamemode ? (strcmp, ZCMD, YCMD, DCMD, etc) and what filterscripts you're trying to use? What command processor has the filterscript?
For example, you can't use ZCMD in your gamemode and STRCMP in your filterscript, at the same time. You'll have to edit the strcmp to zcmd.
Re: Help !! , one work cmd -
Mark_Samp - 22.02.2013
Did you put them into your server.cfg ?
for example if the filterscript called for example : Server
you will find line called into your server.cfg line called filterscripts write in it the filterscript name .
did you make this ?
Re : Re: Help !! , one work cmd -
morocco - 22.02.2013
Quote:
Originally Posted by antonio112
Well, how about giving us some details? Like, what command processor you're using in your gamemode ? (strcmp, ZCMD, YCMD, DCMD, etc) and what filterscripts you're trying to use? What command processor has the filterscript?
For example, you can't use ZCMD in your gamemode and STRCMP in your filterscript, at the same time. You'll have to edit the strcmp to zcmd.
|
i use like this
if(strcmp(cmd, "/Jail", true) == 0) {
SetPlayerPos(playerid, 1849.32995605,-1714.31005859,5201.54003906);
SetPlayerInterior(playerid, 5);
return 1;
}
Re : Help !! , one work cmd -
morocco - 22.02.2013
Quote:
Originally Posted by Mark_Samp
Did you put them into your server.cfg ?
for example if the filterscript called for example : Server
you will find line called into your server.cfg line called filterscripts write in it the filterscript name .
did you make this ?
|
Yes i make new fliterscript on Server.cfg
But at Game just working Cmd fliterscript and Cmd gamemode no work
Re: Re : Re: Help !! , one work cmd -
antonio112 - 22.02.2013
Quote:
Originally Posted by morocco
i use like this
if(strcmp(cmd, "/Jail", true) == 0) {
SetPlayerPos(playerid, 1849.32995605,-1714.31005859,5201.54003906);
SetPlayerInterior(playerid, 5);
return 1;
}
|
Alright, that's
strcmp... How about in filterscripts? What command processor it uses ?
Re : Re: Re : Re: Help !! , one work cmd -
morocco - 22.02.2013
Quote:
Originally Posted by antonio112
Alright, that's strcmp... How about in filterscripts? What command processor it uses ?
|
filterscripts
http://pastebin.com/0KzJeYuT