- 0
Problema erori compile
-
Similar Content
-
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
dandrew12
Cand dau compile imi da erorile acestea:
[pawn]
(13944) : error 021: symbol already defined: "Streamer_OnPlayerEnterRaceCP"
(32844) : error 021: symbol already defined: "strtok"
(32859) : error 047: array sizes do not match, or destination array is too small[/pawn]
Uitati liniile:
[pawn]13943 public OnPlayerEnterRaceCheckpoint(playerid)
13944 {
13945 return 1;
13946 }[/pawn]
[pawn]strtok(const string[], &index)
32844 {
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;
32859 return result;
}[/pawn]
2 answers to this question
Recommended Posts