kann mir jemand diesen befehl korekt zu dcmd machen
dcmd_gotocoords(playerid,parmas[])
{
if(PlayerInfo[playerid][Admin] >= 1339)
{
new coordstr[3][24], Float:coords[3];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp) || !strfind(tmp,",",false)) return SendClientMessage(playerid,Orange," 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)," Erfolgreich teleportiert: X %f Y %f Z %f",coords[0],coords[1],coords[2]);
SendClientMessage(playerid,HellBlau,string);
}
return 1;
}