Posts: 511
Threads: 122
Joined: Jan 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 >>>
Posts: 970
Threads: 16
Joined: Aug 2009
Reputation:
0
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.
Posts: 331
Threads: 16
Joined: Oct 2012
Reputation:
0
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 ?
Posts: 511
Threads: 122
Joined: Jan 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;
}
Posts: 511
Threads: 122
Joined: Jan 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
Posts: 511
Threads: 122
Joined: Jan 2013
Quote:
Originally Posted by antonio112
Alright, that's strcmp... How about in filterscripts? What command processor it uses ?
|
filterscripts
http://pastebin.com/0KzJeYuT