- 0
cum rezolv aceste erori?
-
Similar Content
-
- 0 replies
- 677 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
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]
4 answers to this question
Recommended Posts