D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(18911) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(18911) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(18949) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(18949) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19054) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19054) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19066) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19066) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19117) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19117) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19530) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19530) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19556) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19556) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19721) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19721) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19907) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19907) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19938) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(19938) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(20018) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(20018) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BCF.pwn(20157) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BCF.pwn(20157) : error 033: array must be indexed (variable "tmp")
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BCF.pwn(21645) : warning 225: unreachable code
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(22002) : error 017: undefined symbol "strtok"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(22002) : error 033: array must be indexed (variable "x_uniforme")
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
x_uniforme
x_nr, "uniforme"
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
new cmd[128], tmp[60], idx;
cmd = strtok(cmdtext, idx);
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16631) : error 021: symbol already defined: "cmd"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16633) : error 021: symbol already defined: "tmp"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16634) : error 021: symbol already defined: "idx"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(21647) : warning 225: unreachable code
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16624) : warning 204: symbol is assigned a value that is never used: "tmp"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(58398) : warning 203: symbol is never used: "ReduceTime"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
cmd[128], tmp[60], idx;
#pragma unused ReduceTime
Josma eu tiro todos os new la do public OnPlayerCommandText(playerid, cmdtext[]) code que voce me passou?
|
new cmd[128], tmp[60], idx;
new cmd[128]
new tmp[60]
new idx;
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16624) : error 017: undefined symbol "cmd"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16624) : warning 215: expression has no effect
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16624) : error 001: expected token: ";", but found "]"
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16624) : error 029: invalid expression, assumed zero
D:\Cбssio\samp03csvr_R2-2_win32\gamemodes\BTL.pwn(16624) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
16624 cmd[128], tmp[60], idx;