- 0
cum rezolv aceste erori?
-
Similar Content
-
cum rezolv
By Anexy,
- 1 answer
- 123 views
-
- 0 answers
- 269 views
-
- 4 answers
- 605 views
-
- 9 replies
- 422 views
-
- 12 answers
- 787 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Gaby29
[pawn]D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\pawno\include\streamer.inc(400) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(14299) : error 021: symbol already defined: "strtok"
D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(14314) : error 047: array sizes do not match, or destination array is too small
D:\Jocuri\SAMP\[Acest URL nu trebuie sa apara aici] RPG Romania\gamemodes\sZn.pwn(19023) : warning 219: local variable "mod" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.[/pawn]
14298-14315: [pawn]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;
}[/pawn]
19023 -19025:[pawn] new mod = 100;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))[/pawn]
Link to comment
Share on other sites
4 answers to this question
Recommended Posts