13.07.2010, 04:52
well you dont need params for teleport commands param would be used for sscanf
download the zcmd include and sscanf.
for sscanf where you see the "s" or "us" "uis" or whatever,
download the zcmd include and sscanf.
for sscanf where you see the "s" or "us" "uis" or whatever,
Код:
c - A character. d, i - An integer. h, x - A hex number (e.g. a colour). f - A float. s - A string. z - An optional string. pX - An additional delimiter where X is another character. '' - Encloses a litteral string to locate. u - User, takes a name, part of a name or an id and returns the id if they're connected. Now has IsNumeric integrated into the code. Added additional delimiters in the form of all whitespace and an optioanlly specified one in the format string.