SA-MP Forums Archive
[FilterScript] Strcmp to Zcmd Converter - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Strcmp to Zcmd Converter (/showthread.php?tid=271043)



Strcmp to Zcmd Converter - COD - 22.07.2011

Strcmp to Zcmd Converter

::: this is a fliterscript that converts and find STRCMP commands and converts them into Zcmd command processor way

Instructions :

Step 1 : make a folder called commands2convert.txt in your scriptfiles
Step 2 : add your whole onplayercommandtext or just 1 command you want to convert in there
Step 3 : run your server
Step 4 : Load the fliterscript
Step 5 : in console type convertzcmd
Step 6 : your done in scriptfiles you should get a file called convertedcommands.txt which the ZCMD commands converted are in there

Download:

http://solidfiles.com/d/5e435/



Re: Strcmp to Zcmd Converter - Mrki_Drakula - 22.07.2011

Lol...looking weird but anyway..thanks...


Re: Strcmp to Zcmd Converter - Kitten - 22.07.2011

So this is basically converters and STRCMP Command to and ZCMD? awesome i got 1000 plus commands to convert.

EDIT: thanks for letting me know what slash


Re: Strcmp to Zcmd Converter - SlashPT - 22.07.2011

don't worry it won't change your strtok and everything, it will just change the first line ...

example

pawn Код:
if ( !strcmp ( cmdtext , "/hello" ) )
to

pawn Код:
cmd(hello,playerid,params[])



Re: Strcmp to Zcmd Converter - PCheriyan007 - 22.07.2011

Quote:
Originally Posted by SlashPT
Посмотреть сообщение
don't worry it won't change your strtok and everything, it will just change the first line ...

example

pawn Код:
if ( !strcmp ( cmdtext , "/hello" ) )
to

pawn Код:
cmd(hello,playerid,params[])
I believe you meant
pawn Код:
CMD:hello(playerid, params[])



Re: Strcmp to Zcmd Converter - Hal - 22.07.2011

Quote:
Originally Posted by PCheriyan007
Посмотреть сообщение
I believe you meant
pawn Код:
CMD:hello(playerid, params[])
doesnt matter. They all work.


WOAH WOAH WOAH. Write the credits in the post! If you didnt make it, then do not release it! Did you ask Seif to release this and not write that he really made it?


Re: Strcmp to Zcmd Converter - oxydo - 24.07.2011

it doesen't work, i loged in like rcon admin i write convertzcmd and it doesen't work


Re: Strcmp to Zcmd Converter - Luis- - 06.08.2011

I want to bump this and say that Seif made this so don't think he did.


Quote:
Originally Posted by oxydo
Посмотреть сообщение
it doesen't work, i loged in like rcon admin i write convertzcmd and it doesen't work
Try typing it in the console.


Re: Strcmp to Zcmd Converter - Kaperstone - 06.08.2011

awasome
thanks


Re: Strcmp to Zcmd Converter - SlashPT - 06.08.2011

Quote:
Originally Posted by xkirill
Посмотреть сообщение
awasome
thanks
Sorry to say but i can't find any awesomeness here, even this code already got released ( by Seif ).