SA-MP Forums Archive
Help !! , one work cmd - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help !! , one work cmd (/showthread.php?tid=417726)



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