Hey ich bis wieder.
Undzwar wird das Object nicht gemovt wenn ich "D" bzw. die rechte pfeiltaste drücke:
if(GetPVarInt(playerid,"TestOne") == 1)
{
if(newkeys == KEY_SECONDARY_ATTACK)
{
TogglePlayerControllable(playerid,0);
}
}
if(GetPVarInt(playerid,"TestOne") == 2)
{
if(newkeys == KEY_RIGHT)
{
MovePlayerObject(playerid,object1[playerid],x+3,y,z,1.0,0,0,0);
MovePlayerObject(playerid,object2[playerid],x+3,y+-0.2,1.0,0,0,0,0);
SetPVarInt(playerid,"TestOne",3);
}
}