[Ajuda] Erros --'
#1

pawn Код:
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
error 017: undefined symbol "strtok"
symbol is assigned a value that is never used: "index"
undefined symbol "strtok"
 array must be indexed (variable "cmd")
undefined symbol "strtok"
array must be indexed (variable "tmp")
 undefined symbol "strtok"
array must be indexed (variable "tmp")
 undefined symbol "strtok"
 array must be indexed (variable "tmp")
 undefined symbol "strtok"
 array must be indexed (variable "tmp")
 undefined symbol "strtok"
 array must be indexed (variable "tmp")
error 017: undefined symbol "strtok"
array must be indexed (variable "tmp")
undefined symbol "strtok"
error 033: array must be indexed (variable "tmp")
Linhas
pawn Код:
new File:temp;
new index = 0;
new tmp[256];
new modelid, Float:X, Float:Y, Float:Z, Float:ang, Cor1, Cor2;
temp = fopen("carros.txt", io_readwrite);
while(fread(temp, tmp, sizeof(tmp), false)) {
index = 0;
modelid    = strval(strtok(tmp, index));
X          = Float:floatstr(strtok(tmp, index));
Y          = Float:floatstr(strtok(tmp, index));
Z          = Float:floatstr(strtok(tmp, index));
ang        = Float:floatstr(strtok(tmp, index));
Cor1       = strval(strtok(tmp, index));
Cor2       = strval(strtok(tmp, index));

cAddStaticVehicleEx(modelid, X, Y, Z, ang, Cor1, Cor2, 9999999999);
}
fclose(temp);
new Float:CasaXx, Float:CasaYx, Float:CasaZx;
temp = fopen("Casa.cfg", io_readwrite);
while(fread(temp, tmp, sizeof(tmp), false)) {
index = 0;
CasaXx          = Float:floatstr(strtok(tmp, index));
CasaYx          = Float:floatstr(strtok(tmp, index));
CasaZx          = Float:floatstr(strtok(tmp, index));
CreatePickup(1273, 1, CasaXx, CasaYx, CasaZx, -1);

if(!strlen(tmp)){

4049 - tmp = strtok(cmdtext, idx);

tmp = strtok(cmdtext, idx);
Alguem me ajuda? =s
Reply


Messages In This Thread
Erros --' - by Serjnrg - 22.05.2013, 18:40
Re: Erros --' - by Caio_Freeze - 22.05.2013, 18:55
Re: Erros --' - by Serjnrg - 22.05.2013, 19:07

Forum Jump:


Users browsing this thread: 2 Guest(s)