13.07.2014, 01:25
Ok, so I wanted to clock two similar commands I made, each one doing the same thing but in different ways, I used:
However, when I test the command out it loops only twice then sends "Server Unknown Command", also nothing shows up in the console. Can any one help me out plz?
Код:
CMD:command(playerid, params[]) { new start = GetTickCount(); for(new z; z < 1000; z++) { // the command code here } new end = GetTickCount(); printf("Time: %04d", end - start); return 1; }