29.04.2015, 14:55
Try this:
The second error is because the variable is not defined. Do it at the beginning of the script. It seems to be a boolean.
Код:
new String[128]; String = strtok(params, idx); if (!strlen(String)) return SendClientMessage(playerid, COLOR_GRAD2, "[USAGE]: /gotopos x y z"); new Float:X, Float:Y, Float:Z; X = floatstr(String); Y = floatstr(strtok(params,idx)); Z = floatstr(strtok(params,idx)); SetPlayerPos(playerid, x, y, z);