[FilterScript] Strcmp to Zcmd Converter
#1

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/
Reply
#2

Lol...looking weird but anyway..thanks...
Reply
#3

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
Reply
#4

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[])
Reply
#5

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[])
Reply
#6

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?
Reply
#7

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

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.
Reply
#9

awasome
thanks
Reply
#10

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 ).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)