Wie sieht es damit aus ?
Code:
/*
* Returns the first token from source (where token is defined as
* a string held within delimiters), up to the maximum length).
* sToken is filled with token, and the return value is the length
* of sToken. -1 if no token found.
* This function can be called repeatedly to get further tokens;
* in this case, leave source blank.
*/
native strtok(sSource[], sDelimiters[], sToken[], iMaxLen);
/*
* Returns in sRest what is left over of a string on which strtok has been called.
* Return value is the length of sRest, -1 if no rest is left or if strtok hasn't
* been called yet.
*/
native strtokrest(sRest[], iMaxLen);
/*
* Like strtok, but allows for grouping 'meta-token' that ignores other tokens.
* (eg, strgtok("'This is' a test", " ", "'", sToken, 20)
* will return sToken1 as "This is")
* strgtok uses a *different* internal buffer than strtok. You cannot
* mix strtok and strgtok calls on the same buffer (empty sSource).
*/
native strgtok(sSource[], sDelimiters[], sGrouping[], sToken[], iMaxLen);
/*
* Returns in sRestwhat is left over of a string on which strgtok has been called.
* Return value is the length of sRest, -1 if no rest is left or if strgtok hasn't
* been called yet.
*/
native strgtokrest(sRest[], iMaxLen);
Schau mal in die Sting.inc da gibt es auch noch andere Sachen, mit denen Du sowas lösen kannst.
_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die
Such-Funktion