Habe ein kleines Problem mit folgendem Code:
    if(strcmp(cmd,"/gotocoords",true) == 0)
    {
        if(PlayerInfo[playerid][pAdmin] >= 1)
        {
            new coordstr[3][128], Float:coords[3];
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp)) return SendClientMessage(playerid,COLOR_WHITE,"Benutze: /gotocoords X,Y,Z");
            split(tmp,coordstr,',');
            coords[0] = floatstr(coordstr[0]);
            coords[1] = floatstr(coordstr[1]);
            coords[2] = floatstr(coordstr[2]);
            SetPlayerPos(playerid,coords[0],coords[1],coords[2]);
            format(string,sizeof(string),"Teleportiert:  X: %f   Y: %f   Z: %f",coords[0],coords[1],coords[2]);
            SendClientMessage(playerid,COLOR_YELLOW,string);
        }
        return 1;
    }
Irgendwie portet er mich immer zu den Koordinaten: coords[0], coords[1], 0.0000
Die Z-Koordinate kann er da nicht auslesen, aber woran liegts?
 
		 
		
		
	 
			
									
		