18.10.2011, 13:54
Well , I have started to work on my gamemode and from some filterscripts I found 3 differents type of commands.
1.
2.
and
3.
So here are the questions.
1. Wich one are best.
2. For eg I want to convert from case 1 to case 2 how would I do ?
Thanks in advnace.
1.
Код:
if(strcmp(cmdtext, "/ancommand", true, 10) == 0) { //An Command action here return 1; }
2.
Код:
COMMAND:ancommand(playerid, params[]) { different things @ here return 1; }
3.
Код:
dcmd_ancommand(playerid, params[]) { different things @ here return 1' }
So here are the questions.
1. Wich one are best.
2. For eg I want to convert from case 1 to case 2 how would I do ?
Thanks in advnace.