Habe es so geschrieben trotzdem nichts
if(strcmp(cmdtext,"/tresorbombe",true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, -1991.38464, -1991.38464, 34.85460))
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
CreateExplosion(x, y, z, 12, 10.0);
DestroyObject(tresordoor);
}
else
{
SendClientMessage(playerid,rot,"Du bist nicht in der Nähe");
}
}
return 1;
}