-other-Mizi_CZ 0 Odesláno: 31. Srpen, 2008 Share Odesláno: 31. Srpen, 2008 sorry že jsem toto psal i na pb.net ale toto forum zrovna nešlo a na pb.net mi stejně nepomohly. takže mám drag od smrtaka a píše mi to toto C:\DOCUME~1\Kuba\Plocha\GTASA~1\SAMP~1\Pawno\tt.pwn(490) : error 017: undefined symbol "strtok" C:\DOCUME~1\Kuba\Plocha\GTASA~1\SAMP~1\Pawno\tt.pwn(490) : error 033: array must be indexed (variable "tmp") a když tam dám toto stock strtok(const string[], &index,seperator=\' \') { new length = strlen(string); new offset = index; new result[MAX_STRING]; while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; if ((index < length) && (string[index] == seperator)) { index++; } return result; } tak mi to vyhodí pawno a závorky jsou zprávně nevíte čím to je ? Link to comment Share on other sites More sharing options...
0 Guest [*LoNg*]LiFe Odesláno: 31. Srpen, 2008 Share Odesláno: 31. Srpen, 2008 asi mas dva krat strtok a ked nie tak vyskusaj ten riadok vymazat a daj tam toto cmd = strtok(cmdtext, idx); a new tmp[256]; a este new cmd[256]; Link to comment Share on other sites More sharing options...
0 -other-Mizi_CZ 0 Odesláno: 31. Srpen, 2008 Author Share Odesláno: 31. Srpen, 2008 už jsem to vyřešil dal jsem si nahoru includy dini dutils a dudb Link to comment Share on other sites More sharing options...
Dotaz
-other-Mizi_CZ 0
sorry že jsem toto psal i na pb.net ale toto forum zrovna nešlo a na pb.net mi stejně nepomohly. takže mám drag od smrtaka a píše mi to toto
a když tam dám toto
tak mi to vyhodí pawno a závorky jsou zprávně nevíte čím to je ?
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now