GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: [JSZL]Bencuskaa - 2013. március 13. - 15:23:52

Cím: strtok
Írta: [JSZL]Bencuskaa - 2013. március 13. - 15:23:52
undefined symbol \"strtok\"

 
Ilyen errorok vannak a módomban, ehhez vki tudna definíciót küldeni?
Cím: strtok
Írta: Raidon - 2013. március 13. - 15:35:27
Parancsolj, találtam megoldást hátha segít.

Linkek:


http://sampforum.hu/index.php?topic=15102.0

http://gtaforum.hu/index.php?topic=7914.0

Cím: strtok
Írta: halaloszto100 - 2013. március 13. - 16:39:35
Lehet, hogy ez nincs a mododban benne:
 
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;
}