Kodlar;
new cmd[128], idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/kick", true) == 0)
{
new tmp[128];
tmp = strtok(cmdtext, idx);
if(strlen(tmp) == 0) return SendClientMessage(playerid, 0xFFFFFFFF, "KULLANIMI: /kick [playerid]");
Kick(strval(tmp));
return 1;
}
Hata;
C:\Documents and Settings\Suleyman\Desktop\strtok.pwn(83) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Suleyman\Desktop\strtok.pwn(83) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Suleyman\Desktop\strtok.pwn(88) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Suleyman\Desktop\strtok.pwn(88) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\Suleyman\Desktop\strtok.pwn(82) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.