How to convert - 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: How to convert (
/showthread.php?tid=377389)
How to convert -
Zachlive - 14.09.2012
Hello, I know strcmp is outdated, I want to convert to ZCMD, but I have like 50k lines, is there a easier way to do it, besides line by line?
PS, Im a new scripter
(sorry for double post)
How do I convert it, if I have to do it line by line?
Re: How to convert -
Boooth - 14.09.2012
If you were going to convert you would indeed have to perform it line by line.
There are people on here that will do it for a price.
Tutorial: How to Convert
Re: How to convert -
Devilxz97 - 14.09.2012
Post 1 your commands here and i will show you what's the different
Re: How to convert -
Boooth - 14.09.2012
Or he just read the tutorial I posted, plus what if he comes to change a multiparameter command and you tell him to 'just change if(strcmp..... to CMD:....'. I suggest you read the tutorial Zachlive.
Re: How to convert -
Devilxz97 - 14.09.2012
this is an Example;
pawn Код:
CMD:test(playerid, params[])
{
//your code here
return 1;
}
Re: How to convert -
Boooth - 14.09.2012
*facepalm*
Re: How to convert -
Zachlive - 14.09.2012
All that I have to do is replace this....
CMD:help(playerid, params[]) ... with this?
So can I do.... replace if(strcmp(cmd, "/ to this "CMD:"
Then "true) == 0)" to "(playerid, params[])"?
Re: How to convert -
Boooth - 14.09.2012
Read the tutorial I posted.