Okay hier:
ocmd:gk1(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,10,976, 2777.0849609375, 923.185546875, 9.8961162567139)); return SendClientMessage(playerid,0xFFFF00AA,"Du bist leider zuweit weg ;("
MoveObject(gk1,976, 2777.0849609375, 923.185546875, 9.8961162567139-10,5);
return 1;
}
ocmd:gkzu(playerid,params[])
{
if(IsPlayerInRangeOfPoint(playerid,10,976, 2777.0849609375, 923.185546875, 9.8961162567139));
MoveObject(gkzu,976, 2777.0849609375, 923.185546875, 9.8961162567139,5);
return 1;
}
So bitte schön