03.10.2010, 12:54
Quote:
Then, either go use it or use strtok + strval
zcmd + sscanf is fastest even though i'd rather dcmd + sscanf since dcmd is just a line and zcmd a include/plugin (dno) strcmp + strtok = hmm... a long alternative. |
zcmd is easier to use in comparison to dcmd. You don't need to calculate the length of a command name, have a lengthy OnPlayerCommandText to declare your commands or anything. You just need to include zcmd and create a command like so:
pawn Код:
CMD:lol(playerid, params[]) {
return 1;
}