dann versuch mal so
ocmd:ftor(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,10,1530.1999511719, 482.39999389648, 8.3000001907349))
{
MoveDynamicObject(tor,1530.1999511719, 482.39999389648, 8.3000001907349-10,5);
return 1;
}
else
{
SendClientMessage(playerid,ROT,"Du bist nicht in der nähe vom Tor.");
}
return 1;
}
ocmd:ftorzu(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,10,1530.1999511719, 482.39999389648, 8.3000001907349))
{
MoveDynamicObject(tor,1530.1999511719, 482.39999389648, 8.3000001907349-,5);
return 1;
}
else
{
SendClientMessage(playerid,ROT,"Du bist nicht in der nähe vom Tor.");
}
return 1;
}